Wrapper framework for download a passbook from an URL
Through Carthage
github "gigigoapps/gigigo-ios-passbook" ~> 4.0
You only need to specify an url string:
Passbook().addPassbookFromUrl("http://host.com/path/passbook") { result in
switch result {
case .success:
print("Passbook: downloaded successfully")
case .unsupportedVersionError(_):
print("Passbook: Unsupported version")
case .error(let error):
print(error)
}
}