macOS, iOS

[iOS] string안에 엔터 넣기

SweetDev 2020. 3. 23. 09:41

C처럼 \n으로 넣을 수 있다. 

 

var example: String = "Hello World \nThis is a new line"