iOS-Develop(Swift)2016.08.12 10:56


func MultiReturn() -> (String, Int, NSDate) {

    let name = "MultiReturn"

    let age = 25

    let date = NSDate()


    return (name, age, date)

}


print(MultiReturn().0)

print(MultiReturn().1)

print(MultiReturn().2)



                      
Posted by 꼴찌생각