The TRUTH about SwiftUI (Is UIKit Better?)

preview_player
Показать описание
In this video we will explore whether SwiftUI is better than UIKit. It ultimately comes down to your goals but we'll explore some of my thoughts on the topic.

#swiftUI #uikit #swift

** Like my teaching style? Check out some of my most popular courses!

Join this channel to get access to perks, code, groups, and more:

** Get Skillshare free for 2 Months and learn iOS

** Manage all your investments from app earnings on Betterment!

** Grow your own Youtube tech channel with TubeBuddy:
Рекомендации по теме
Комментарии
Автор

Also, 10+ yrs of UIKit on stack overflow, etc.

glennadams
Автор

Communication from subs to you seems important so .. waiting for more uikit as someone looking to get into iOS development as a career. Thanks!

tny
Автор

Very well said. I do UIKit but learning SwiftUI

benjamighty
Автор

In fact, I like about your teaching style or approach; you can break down complex subject into simple and easy understanding way. Hope you can make more MVVM with Json tutorial examples. Thanks.

smarttravel
Автор

Just started learning SwiftUI and m loving it... it's making my life so much easier.
Learning Combine side-by-side. iOS development is going to be fun in future.

roshanthapa
Автор

This is very informative and helpful. I just finished my first app using UIKit and I was pretty hesitant and indecisive between choosing SwiftUI or UIKit. Eventually, went with UIKit for the same reasons you have mentioned. Now, I'm gonna spend more time learning SwiftUI just for fun.

DoubleCheapBurger
Автор

swiftUI is the future of ios development, and that's that.

paracartoon
Автор

It is nice to see the person behind the voice! Great video, man! Please keep em coming! Thanks!

matthewdolan
Автор

yes i like the camera work and the approach! keep it up brother 👍

Niram
Автор

I think the mistake that many people make is taking an either or approach to this. UIKit is a mature framework and it's not on its way out as some people are saying. Apple will continue to support it for years to come. SwiftUI is a faster, more modern approach to UI development and while it has come a long way in 3 years, it'll continue to evolve and support more and more functionality in the years to come.

Think about this for a moment, UICollectionView was introduced in iOS 6, which means we didn't have a collection view for 6 years and compositional layout was introduced in iOS 12, which is another 6 years before we got a really nice solution to this problem. Then you have people complaining that SwiftUI doesn't have everything that UIKit has this early in its life - that's a joke.

Both UIKit and SwiftUI are easy to learn, so learn both and use both. You can use a UITableView or UICollectionView and then build your cells in SwiftUI, or you can build in SwiftUI and use a UIRepresentable to host a ViewController in your SwiftUI app. It's like watching Mandalorian, without ever watching any of the Star Wars movies. The series stands by itself, but having the back story from the movies can add so many more dimensions to the story. Therefore, even if you plan to only ever build in SwiftUI, I recommend you build a few things with UIKit just for fun - don't use storyboards or nibs, do everything in code and you'll be surprised at how much better you'll be at building iOS apps.

nitesh-maharaj
Автор

I just got into iOS development 2 days ago for myself and I always go for newer stuff. I like SwiftUI. I don’t find it limiting so far and cross platform is awesome .
- I got handwriting recognition
- Text and object based recognition through camera
- JSON reading
- Beautiful on boarding screen

nickgennady
Автор

SwiftUI is for Apple to use for writing one set of code that can be applied to all of apple products e.g. CarPlay, Watch, Apple TV, and iphone/ipad, desktop, whereas UIkit can't be applied as one platform for is the future of Apple company, .... Simple, no more argument.

anhhanry
Автор

I love both actually im learning all from your videos sometimes im overwhelmed because i dont know what first but its great.

Monique-pezf
Автор

I always looked for a video like this. Thanks!

TheSpiralnotizblock
Автор

The audio level of the background music made listening a tad challenging for me personally. Thank you for your thoughts on the two frameworks!

neslzkusfep
Автор

SwiftUI is the future. Might as well get use to it at this point. Especially a year after this video came out

ericdraven
Автор

Great vid. I like your attitude in general, you crumble things into basis. I will stick with your channel and learn from you, thanks :)

zdeneikcz
Автор

Love these new style of videos! Btw, I gotta thank you for teaching on YouTube. I’ve been watching for over 1 year, and last week I finally got my first job as an iOS engineer. I learn so much from you! Keep up the great work!

ryankanno
Автор

Fantastic advice couldn’t agree more especially about getting a job

richprice
Автор

I live both! Good perspective though. Totally right about how many companies won’t have a business case to transition to SwiftUI anytime soon. My company’s code base is still majority objc!

DaveJacobseniOS