Skip to content

Instantly share code, notes, and snippets.

@veeneck
Created June 17, 2014 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veeneck/c5732e746a5f55c9f42e to your computer and use it in GitHub Desktop.
Save veeneck/c5732e746a5f55c9f42e to your computer and use it in GitHub Desktop.
Loop different data types in Swift
for item : NSDictionary! in flagData {
let flagToPlace = Flag(category: item["Type"].integerValue)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment