macOS, iOS

[Swift] typealias

SweetDev 2019. 11. 13. 19:04

typealias Name = String

 

let name: Name = "SweetDev"

 

이런식으로 사용할 수 있다.