How to Manage SwiftUI Updates with Swift If Available
Автор: Karin Prater
Загружено: 2023-02-16
Просмотров: 2086
What to do when iOS version updates break your SwiftUI project - In this Swift tutorial, I will how to keep your SwiftUI projects up-to-date with the latest changes. I will tell you about the difference of @available and if #available. You will see 3 examples and learn strategies to make your code better and more readable while handling the iOS version checking.
🗒️ Check out the blog post for a detailed summary here:
https://www.swiftyplace.com/blog/swif...
overview:
0:00 introduction
2:20 Example to use Color cyan for iOS 14 - swift check version
13:12 conditional handling view modifier presentationDetents
22:39 replacing a deprecated API
24:15 trying to deal with the changes in the Navigation updates for SwiftUI
33:35 wrap up
If you liked what you learned and you want to see more, check out one of my courses!
👨💻 my SwiftUI course https://school.swiftyplace.com/course...
👨💻 my Core Data and SwiftUI course https://school.swiftyplace.com/course...
👩🏻💻 Combine course
https://school.swiftyplace.com/course...
#SwiftUI #SwiftVersion #SwiftCheckVersion
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: