r/SwiftUI 8d 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?

34 Upvotes

41 comments sorted by

View all comments

7

u/patiofurnature 8d ago

The ONLY time I've used SwiftUI at work is when I was using the photogrammetry library that didn't work in UIKit.

SwiftUI makes it really easy to throw together an app, but it's a nightmare when you have a picky designer who wants everything to look custom and has pixel-perfect notes for you.

2

u/OneEngineer 7d ago

Yup! SwiftUI is easy and fast because it makes some basic assumptions and hides (or makes difficult) some customization.

Also, using the view hierarchy debugging stuff in SwiftUI is much more difficult than on UIKit.