Skip to content

gigigoapps/gigigo-ios-passbook

Repository files navigation

GIGPassbook iOS


Language Version Carthage compatible Build Status

Wrapper framework for download a passbook from an URL

How to add it to my project?

Through Carthage

github "gigigoapps/gigigo-ios-passbook" ~> 4.0

Usage Exampple

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