Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughbe/nk2reader
https://github.com/hughbe/nk2reader
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hughbe/nk2reader
- Owner: hughbe
- Created: 2020-10-28T01:33:31.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-06T21:50:41.000Z (almost 4 years ago)
- Last Synced: 2024-11-10T12:47:28.572Z (2 months ago)
- Language: Swift
- Size: 533 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NK2Reader
NK2Reader is a reader of Outlook autocomplete streams (nk2 files).
## Example Usage
Add the following line to your project's SwiftPM dependencies:
```swift
.package(url: "https://github.com/hughbe/NK2Reader", from: "1.0.0"),
``````swift
import NK2Readerlet data = Data(contentsOfFile: ".nk2")!
let file = try NK2File(data: data)
for row in files.rows {
print(row.displayName!)
}
```