Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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]
- Host: GitHub
- URL: https://github.com/hughbe/wmfreader
- Owner: hughbe
- Created: 2020-11-25T22:11:02.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-27T16:55:34.000Z (about 4 years ago)
- Last Synced: 2024-11-10T12:47:25.484Z (about 2 months ago)
- Language: Swift
- Size: 14.5 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 WmfReaderlet data = Data(contentsOfFile: ".wmf")!
let file = try WmfFile(data: data)
try file.enumerateRecords { record in
print("Record: \(record)")
return .continue
}
```