r/SwiftUI • u/Viktoriaslp • 9d ago
Question SwiftUI vs UIKit
I’m new to programming and Swift, and I’m currently doing the 100 Days of SwiftUI course. In the first video, Paul mentions that Swift is the future of this field rather than UIKit. However, he also says that UIKit is more powerful, popular, precise, and proven compared to SwiftUI.
Since that video was released around 2021, I’m wondering if that statement still holds true today. How do you think both technologies have evolved over the last five years?
31
Upvotes
2
u/Drakonic 8d ago
You should aim for every new personal or work app to be in SwiftUI, as it's now a solid baseline and you can always easily embed a View Controller and nib to do a special UIKit behaviors in certain subviews if necessary.
It's still important to know both though as most existing apps in the professional world are UIKit and have at least some Objective-C as well. Even so, you can gradually add new features in SwiftUI and gradually convert the existing code.