Skip to content

paulober/swift-qpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift QPL/QTI parsing package

A small swift package for parsing qpl and qti files.

Usage

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)