Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hughbe/wmfreader

Swift definitions for structures, enumerations and functions defined in [MS-WMF]
https://github.com/hughbe/wmfreader

Last synced: 2 days ago
JSON representation

Swift definitions for structures, enumerations and functions defined in [MS-WMF]

Awesome Lists containing this project

README

        

# WmfReader

Swift definitions for structures, enumerations and functions defined in [MS-WMF](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/)

## Example Usage

Add the following line to your project's SwiftPM dependencies:
```swift
.package(url: "https://github.com/hughbe/WmfReader", from: "1.0.0"),
```

```swift
import WmfReader

let data = Data(contentsOfFile: ".wmf")!
let file = try WmfFile(data: data)
try file.enumerateRecords { record in
print("Record: \(record)")
return .continue
}
```