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

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

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)
```