Created
February 28, 2018 07:20
-
-
Save vialyx/2dd1c767acaf4c6bbcb98bd9627c02e0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (index, user) in allUsers.enumerated() { | |
print("User: \(user) at index: \(index)") | |
/* | |
User: User(name: "Admin") at index: 0 | |
User: User(name: "Guest") at index: 1 | |
*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment