Skip to content

Instantly share code, notes, and snippets.

@malcommac
Created April 26, 2018 12:09
Show Gist options
  • Save malcommac/f98343de7eedcde4828f56af5565cc5a to your computer and use it in GitHub Desktop.
Save malcommac/f98343de7eedcde4828f56af5565cc5a to your computer and use it in GitHub Desktop.
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