Member-only story
Should I learn SwiftUI? But why? I can use UIKit to create apps for iOS so why learn SwiftUI?
I have been getting this question a lot and I thought of sharing my views and opinion on this topic because yes sooner or later every iOS developer will have this question.
Let me start by sharing what goes through the mind of a developer before they start exploring SwiftUI because it surely did mine
1. Some developers who are in their comfort zone for storyboards and Xibs will stick with that and avoid using SwiftUI because with SwiftUI there’s a learning curve and you can make apps using UIKit in all the iOS version so why learn SwiftUI?
2. You need to learn the declarative syntax with SwiftUI, but with storyboard/xib’s you can just drag and drop, connect the IBOutlets and IBActions and you are done.
3. RxSwift and RxCocoa has been there in the market for quite sometime and developers who are comfortable with RxSwift may just use it with UIKit projects.
4. If you are stuck in a problem then stackoverflow or google will come up with blogs having solution of UIKit, because UIKit is…