SwiftUI or UIKit for a Beginner?

I’m still learning UIKit (I’m a beginner) and I want to learn Swift/UIKit so that I can freelance. I’m wondering however, should I go straight to learning SwiftUI?

More specifically, is SwiftUI currently capable of doing everything that UIKit does?

Or would the apps that I make with SwiftUI not have all of the features that UIKit framework offers? Please help. Thank you.

It really depends on what you ultimately intend to be proficient in and whether you want to take on any UIKit work that comes your way or focus solely on SwiftUI.

The vast majority of the codebase in the world is still based on UIKit and to a lesser extent Objective C and still needs to be maintained.

The decision is really up to you.

Bear in mind that the SwiftUI framework has only been around for close to 18 months and has a long way to go in development terms to match the capabilities of UIKit. The reality is that UIKit will be around for many years to come though eventually SwiftUI will gradually be the framework of choice.

If you want to focus entirely on SwiftUI applications then take that path. If you want some flexibility to also take on UIKit work then you’ll need a good grounding in that framework as well.

1 Like

Thank you so much for this feedback, I appreciate it!

Also if you ever want to have an iOS dev job, you MUST learn UIKit.

And no SwiftUI can NOT do everything that UIKit can as of this moment

1 Like