
Contents
Chào bạn tới với bài viết này của mình. Khi chúng ta học một thứ gì đó mới thì thường sẽ liên tưởng tới các những thứ đã có trước đây. Cụ thể ở đây là UIKit
thần thánh của anh em làm iOS. Bài viết này chỉ mang tính chất liệt kê cho bạn có 1 cái hình dung và có cái nhìn quen thuộc nhiều hơn.
Controllers
UIKit | SwiftUI | Note |
---|---|---|
UIViewController | View | |
UITableViewController | List | |
UICollectionViewController | – | Hiện tại chưa có, có thể chế với list |
UISplitViewController | NavigationView | Hiện tại đang bị crash |
UINavigationController | NavigationView | |
UIPageViewController | – | |
UITabBarController | TabbedView | |
UISearchController | – | |
UIImagePickerController | – | |
UIVideoEditorController | – | |
UIActivityViewController | – | |
UIAlertController | Alert |
Views and Controlls
UIKit | SwiftUI | Note |
---|---|---|
UILabel | Text | |
UITabBar | TabbedView | |
UITabBarItem | TabbedView | .tapItem ở trong TabbedView |
UITextField | TextField | password thì SecureField |
UITableView | List | |
UINavigationBar | NavigationView | .navigationBarItems |
UIBarButtonItem | NavigationView | .navigationBarItems |
UICollectionView | – | |
UIStackView | HStack | .axis == .Horizontal |
UIStackView | VStack | .axis == .Vertical |
UIScrollView | ScrollView | |
UIActivityIndicatorView | – | |
UIImageView | Image | |
UIPickerView | Picker | |
UIButton | Button | |
UIDatePicker | DatePicker | |
UIPageControl | – | |
UISegmentedControl | SegmentedControl | |
UISlider | Slider | |
UIStepper | Stepper | |
UISwitch | Toggle | |
UIToolBar | – |
Framework Integration – UIKit in SwiftUI
UIKit | SwiftUI | Note |
---|---|---|
UIView | UIViewRepresentable | |
UIViewController | UIViewControllerRepresentable |
Framework Integration – SwiftUI in UIKit
UIKit | SwiftUI | Note |
---|---|---|
UIView (UIHostingController) | View | |
UIViewController (UIHostingController) | View |
Related Posts:
Written by chuotfx
Hãy ngồi xuống, uống miếng bánh và ăn miếng trà. Chúng ta cùng nhau đàm đạo về đời, về code nhóe!
Leave a Reply Cancel reply
Fan page
Tags
Actor
Advanced Swift
AI
api
AppDistribution
autolayout
basic ios tutorial
blog
ci/cd
closure
collectionview
combine
concurrency
crashlytics
dart
dart basic
dart tour
Declarative
delegate
deploy
design pattern
fabric
fastlane
firebase
flavor
flutter
GCD
gradients
iOS
MVVM
optional
Prompt engineering
protocol
Python
rxswift
safearea
Swift
Swift 5.5
SwiftData
SwiftUI
SwiftUI Notes
tableview
testing
TravisCI
unittest
Recent Posts
- Role-playing vs. Persona-based Prompting
- [Swift 6.2] Raw Identifiers – Đặt tên hàm có dấu cách, tại sao không?
- Vibe Coding là gì?
- Cách Đọc Sách Lập Trình Nhanh và Hiệu Quả Bằng GEN AI
- Nỗ Lực – Hành Trình Kiến Tạo Ý Nghĩa Cuộc Sống
- Ai Sẽ Là Người Fix Bug Khi AI Thống Trị Lập Trình?
- Thời Đại Của “Dev Tay To” Đã Qua Chưa?
- Prompt Engineering – Con Đường Để Trở Thành Một Nghề Nghiệp
- Vấn đề Ảo Giác (hallucination) khi tương tác với Gen AI và cách khắc phục nó qua Prompt
- Điều Gì Xảy Ra Nếu… Những Người Dệt Mã Trở Thành Những Người Bảo Vệ Cuối Cùng Của Sự Sáng Tạo?
You may also like:
Archives
- May 2025 (2)
- April 2025 (1)
- March 2025 (8)
- January 2025 (7)
- December 2024 (4)
- September 2024 (1)
- July 2024 (1)
- June 2024 (1)
- May 2024 (4)
- April 2024 (2)
- March 2024 (5)
- January 2024 (4)
- February 2023 (1)
- January 2023 (2)
- November 2022 (2)
- October 2022 (1)
- September 2022 (5)
- August 2022 (6)
- July 2022 (7)
- June 2022 (8)
- May 2022 (5)
- April 2022 (1)
- March 2022 (3)
- February 2022 (5)
- January 2022 (4)
- December 2021 (6)
- November 2021 (8)
- October 2021 (8)
- September 2021 (8)
- August 2021 (8)
- July 2021 (9)
- June 2021 (8)
- May 2021 (7)
- April 2021 (11)
- March 2021 (12)
- February 2021 (3)
- January 2021 (3)
- December 2020 (3)
- November 2020 (9)
- October 2020 (7)
- September 2020 (17)
- August 2020 (1)
- July 2020 (3)
- June 2020 (1)
- May 2020 (2)
- April 2020 (3)
- March 2020 (20)
- February 2020 (5)
- January 2020 (2)
- December 2019 (12)
- November 2019 (12)
- October 2019 (19)
- September 2019 (17)
- August 2019 (10)