SwiftfulThinking1 0. [SwiftUI] Text() - 텍스트 기초부터 차근차근.. 컴포넌트들의 특징과 사용법을 익혀보자. SwiftUI에서 텍스트 다루기 (component & modifier) 텍스트 한 가지만 해도 정말 수많은 Modifier가 있다. 아래 modifier들을 참고해 필요한 형태의 텍스트를 구현해 보자. // Created by Toughie on 2023/03/27. // import SwiftUI struct TextBootCamp: View { var body: some View { Text("Hello, SwiftUI!") Text("Hello, SwiftUI".uppercased()) // 전체 대문자 Text("Hello, SwiftUI".lowercased()) // 전체 소문자 Text("Hello, SwiftUI".capital.. 2023. 3. 28. 이전 1 다음