반응형

View and Controls
| UIKit | SwiftUI |
| UILabel | Text |
| UITextField | TextField |
| UITextField(isSecureTextEntry) | SecureField |
| UIButton | Button |
| UllmageView | Image |
| UISwitch | Toggle |
| UISlider | Slider |
| UIStepper | Stepper |
| UIPickerView | Picker(WheelPickerStyle) |
| UISegmentedControl | Picker(SegmentedPickerStyle) |
| UIDatePicker | DatePicker |
| UITextView | TextEditor (일반 문자열에만 해당) |
| UIStackView | HStack(가로 방향), VStack(세로 방향) |
| UIScrollView | ScrollView |
| UITableView(Plain) | List |
| UITableView(Grouped) | List(GroupedListStyle) |
| UICollection View | |
| UIProgressView |
ProgressView (with a value) |
| UIActivityIndicatorView |
ProgressView(without a value) |
ViewControllers
| UIKit | SwiftUI |
| UIViewController | View |
| UINavigationController | NavigationView |
| UITabBarController | TabView |
| UISplitViewController | Navigation View |
| UITableViewController | List |
| UICollectionViewController | LazyVGrid / LazyHGrid |
| UIAlertController(actionSheet 스타일) | .actionSheet / ActionSheet |
| UIAlertController(alert 스타일) | .alert / Alert |
읽어주셔서 감사합니다🤟
'SWIFTUI > Grammar' 카테고리의 다른 글
| SwiftUI : #1 Binding이란 무엇인가? (0) | 2021.02.11 |
|---|---|
| SwiftUI : State에 대해 자세히 알아보기 (0) | 2021.02.10 |
| SwiftUI : 삼항 연산자 / IF (0) | 2021.01.25 |
| SwiftUI : @State, @ObservedObject / Struct를 Class로 (0) | 2021.01.25 |
| SwiftUI : UserDefaults 정보 수집 및 저장 (1) | 2021.01.24 |





