Last active
August 29, 2015 14:24
-
-
Save goodmorningcody/8e3f7c7b18f4650a4697 to your computer and use it in GitHub Desktop.
스위프트 : 이미 값이 저장된 변수에 저장된 값과 다른 타입의 값을 저장할 수 없다.
This file contains 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
let year = 2015 | |
let name = "Cody" | |
var age = 20 | |
var born = year-age+1 | |
age = "Cathy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment