Created
October 4, 2017 15:08
-
-
Save yossan/5f84c4b3551cdef5679cee4638303721 to your computer and use it in GitHub Desktop.
Getting value with label from a labeled tuple
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
func getTupple() -> (first: Int, secound: Int) { | |
return (0, 1) | |
} | |
//Gets value with label | |
let f = getTupple().first | |
print(f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment