본문 바로가기
#모바일 [Mobile]/iOS

[iOS] UIKit, AppKit, SwiftUI 구성 요소 비교 (Difference UIKit, AppKit and SwiftUI Component)

by cy_mos 2022. 2. 16.
반응형
카테고리 게시글 작성 날짜 게시글 최근 수정 날짜 작성자
iOS 2022.02.16. 23:43 2022.02.16. 23:43 Dev.Yang

 

🛠 뷰 (View) / 컨트롤 (Control)

UIKit SwiftUI AppKit
UILabel Text NSTextField
UITextField TextField NSTextField
UITextFiled [SecureText] SecrueField NSSecureTextField
UIButton Button NSButton
UIImageView Image NSImageView
UISwitch Toggle NSSwitch
UISlider Slider NSSlider
- Circular Slider
- Vertical Slider
- Horizontal Slider
UIStepper Stepper  
UIPickerView Picker [WheelPickerStyle]  
UISegmentedControl Picker [SegmentedPickerStyle] NSSegmentedControl
UIDatePicker DatePicker NSDatePicker
UITextView N/A  
UIStackView - HStack [Landscape]
- VStck [Portrait]
NSStackView
UIScrollView ScrollView NSScrollView
UITableView [Plain] List  
UITableView [Grouped] List [GroupedListStyle] NSTableView
UICollectionView N/A NSCollectionView

🛠 뷰 컨트롤러 (ViewController)

UIKit SwiftUI AppKit
UIViewController View  NSViewController
UINavigationController NavigationView  
UITabBarController TabView  
UISplitViewController NavigationView  
UITableViewController List  NSTableViewController
UICollectionViewController N/A  NSCollectionViewController
UIAlertController [ActionSheet Style] ActionSheet  
UIAlertController [Alert Style] Alert  

🚀 REFERENCE

반응형

댓글