https://github.com/paulober/swift-qpl
Swift QPL/QTI parsing package
https://github.com/paulober/swift-qpl
ilias qpl qti swift swift6
Last synced: 26 days ago
JSON representation
Swift QPL/QTI parsing package
- Host: GitHub
- URL: https://github.com/paulober/swift-qpl
- Owner: paulober
- Created: 2024-08-07T23:53:19.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-09T16:42:38.000Z (9 months ago)
- Last Synced: 2025-02-17T02:13:37.340Z (4 months ago)
- Topics: ilias, qpl, qti, swift, swift6
- Language: Swift
- Homepage:
- Size: 1.11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swift QPL/QTI parsing package
A small swift package for parsing qpl and qti files.
### Usage
```swift
let qplReader = QPLReader()
print(FileManager.default.currentDirectoryPath)
let fp = URL(filePath: "qpl.zip", directoryHint: .notDirectory, relativeTo: URL(filePath: "/path/to/my/dir/"))
let file = try qplReader.readZip(zipFileURI: fp)
print(file.questestInterop.items.count)
assert(file.questestInterop.items.count > 0)
```