Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
do {
  let appPList = try PListFile<InfoPList>()
 
  // then read values
  let url = appPList.data.configuration.url // it’s an URL
} catch let err {
  print(“Failed to parse data: \(err)”)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment