Skip to content

Instantly share code, notes, and snippets.

@vialyx
Created February 28, 2018 09:51
Show Gist options
  • Save vialyx/8ca4318732dfbf7c5f33a4fc757f2864 to your computer and use it in GitHub Desktop.
Save vialyx/8ca4318732dfbf7c5f33a4fc757f2864 to your computer and use it in GitHub Desktop.
// TODO: - Iterate over the entire with the for-in loop:
for user in allUsers {
print("User: \(user)")
/*
User: User(id: 654, name: "Chilly Mango")
User: User(id: 7, name: "Mike Biggles")
User: User(id: 234, name: "Midum Premium")
User: User(id: 99, name: "Jimmy Cho")
*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment