-
iOS) 유니코드 텍스트로 적용시기키Programing Language/iOS(Swift) 2020. 3. 17. 18:03728x90반응형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
임의의 유니코드 스칼라는 \u{n}으로 작성, n는 1-8자리 16진수 let wiseWords = "\"Imagination is more important than knowledge\" - Einstein" // "Imagination is more important than knowledge" - Einstein let dollarSign = "\u{24}" // $, Unicode scalar U+0024 let blackHeart = "\u{2665}" // ♥, Unicode scalar U+2665 let sparklingHeart = "\u{1F496}" // 💖, Unicode scalar U+1F496 728x90반응형'Programing Language > iOS(Swift)' 카테고리의 다른 글
iOS) collectionview Cell 삭제하는 방법 (2) 2020.03.20 iOS) UIPageViewController 기본 세팅 설정하기 (화면 넘길때 왼쪽에서 오른쪽으로 움직이기) (0) 2020.03.19 iOS) navigationBar의 기본 배경 색 변수에 저장하기 (0) 2020.03.12 iOS) 특정 ViewController에서 상단에 navigationbar 숨기고 popGesture로 이전뷰로 돌아가기 (0) 2020.03.12 iOS ) 특정 ViewController에서 navigationBar 숨기기 (0) 2020.03.12