자료형을 직접 입력하는 것을 Type annotation이라고 한다.
ex) let number: Int = 123
Type annotation is that we explicitly declare the datatype.
'ios Development > Swift' 카테고리의 다른 글
Type Alias (0) | 2020.01.02 |
---|---|
Type safety (0) | 2020.01.02 |
Warm up 3 First Class Citizen (0) | 2019.12.27 |
Warm up 2 (Swift special characters) 자주 사용하는 특수문자 알아두면 좋음ㅋ (0) | 2019.12.27 |
Warm up 1 (0) | 2019.12.27 |