UDDFKit is a Swift package for parsing and writing UDDF (Universal Dive Data Format) v3.2.1 files. It provides type-safe handling of dive computer data for iOS and macOS applications.
Usage
import UDDFKit
// Parse a UDDF file
let document = try UDDFSerialization.parse(contentsOf: fileURL)
// Write a UDDF document
try UDDFSerialization.write(document, to: outputURL)
The library also includes a fluent Builder API for creating dive logs programmatically, comprehensive validation, and support for non-standard extensions found in real-world dive computer exports.