The TRUTH about SwiftUI (Is UIKit Better?)

  Рет қаралды 11,208

iOS Academy

iOS Academy

3 жыл бұрын

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.
💻 Source Code: / iosacademy
🎥 Subscribe for more: kzfaq.info?su...
😎 Like my teaching style? Check out some of my most popular courses! courses.iosacademy.io
#swiftUI #uikit #swift
** Like my teaching style? Check out some of my most popular courses!
courses.iosacademy.io
Join this channel to get access to perks, code, groups, and more:
Building Instagram: courses.iosacademy.io/p/build...
Building TikTok: / @iosacademy
SwiftUI for Beginners: ios-academy.teachable.com/p/s...
Join the iOS Academy Community: iosacademy.io/
** Get Skillshare free for 2 Months and learn iOS
www.skillshare.com/r/user/afraz
** Manage all your investments from app earnings on Betterment!
bit.ly/3eBwlI9
** Grow your own KZfaq tech channel with TubeBuddy:
www.tubebuddy.com/iosacademy

Пікірлер: 119
@glennadams7047
@glennadams7047 3 жыл бұрын
Also, 10+ yrs of UIKit on stack overflow, etc.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Exactly - so much material out there
@TheSpiralnotizblock
@TheSpiralnotizblock 3 жыл бұрын
I always looked for a video like this. Thanks!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome
@ArchAid1
@ArchAid1 3 жыл бұрын
I love SwiftUI 😍😍
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Me too! No hate :)
@tny7390
@tny7390 3 жыл бұрын
Communication from subs to you seems important so .. waiting for more uikit as someone looking to get into iOS development as a career. Thanks!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
More to come!
@paracartoon
@paracartoon 2 жыл бұрын
swiftUI is the future of ios development, and that's that.
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Agreed
@manni7317
@manni7317 Жыл бұрын
Come on' man, they have never explicitely said that its going to be the future, They have spent so much time and energy on UIKit and they are not just going to throw it in a garbage bin, And i don't know if you looked properly, swiftui is UIKit under the hood. Just with less flexibility. Its not production ready yet, maybe in future when they provide some rigid core functionalities it would be great to work on.
@benjamighty
@benjamighty 3 жыл бұрын
Very well said. I do UIKit but learning SwiftUI
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks!
@JacobPernell
@JacobPernell 3 жыл бұрын
Thanks for sharing these thoughts!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome!
@smarttravel8839
@smarttravel8839 3 жыл бұрын
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.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thank you!
@Monique-pe3zf
@Monique-pe3zf 3 жыл бұрын
I love both actually im learning all from your videos sometimes im overwhelmed because i dont know what first but its great.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
I enjoy both as well
@DoubleCheapBurger
@DoubleCheapBurger 3 жыл бұрын
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.
@busimo
@busimo 2 жыл бұрын
are you sure?
@javed2547
@javed2547 2 жыл бұрын
Learn it as it will be your bread and butter, UIKit is on its way out
@ryankanno2562
@ryankanno2562 3 жыл бұрын
Love these new style of videos! Btw, I gotta thank you for teaching on KZfaq. 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!
@KimbrellBrad
@KimbrellBrad 3 жыл бұрын
That's a huge milestone Ryan! You should be very proud of taking on the language and learning enough to become an attractive hire! Good luck and enjoy the ride!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
CONGRATS - you should be super proud of yourself. Nothing makes me happier than hearing these videos provide value
@matthewdolan720
@matthewdolan720 3 жыл бұрын
It is nice to see the person behind the voice! Great video, man! Please keep em coming! Thanks!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks, will do!
@zdeneikcz
@zdeneikcz 2 жыл бұрын
Great vid. I like your attitude in general, you crumble things into basis. I will stick with your channel and learn from you, thanks :)
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thank you! I appreciate it
@DaveJacobseniOS
@DaveJacobseniOS 3 жыл бұрын
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!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Nice! Yep, completely agreed
@Ni7ram
@Ni7ram Жыл бұрын
yes i like the camera work and the approach! keep it up brother 👍
@iOSAcademy
@iOSAcademy Жыл бұрын
Thanks! Will do!
@roshanthapa25
@roshanthapa25 Жыл бұрын
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.
@problemchild01
@problemchild01 3 жыл бұрын
More videos about iOS interviews and tips for landing your first job, keep up the great content!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Coming soon!
@a_basic_beach
@a_basic_beach 3 жыл бұрын
Do you think you'll add some of your courses to udemy teaching UIKit along with Swift 5 ? I have your introductory swiftui course, but I definitely agree UIKit is necessary to get a job as swiftui is still new, and not much help for it on stackoverflow.
@richprice5434
@richprice5434 3 жыл бұрын
Fantastic advice couldn’t agree more especially about getting a job
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Glad you enjoyed it
@richprice5434
@richprice5434 3 жыл бұрын
@@iOSAcademy for me aswell, the UIKIT stuff is priceless, youtube is chucking out swiftUI like no tomorrow, quality uiKit stuff is very hard to find. My 2 cents ;-)
@scottw2181
@scottw2181 3 жыл бұрын
I've found the opposite in the actual job hunting. Having been using SwiftUI heavy since it released in 2019, gave me such a leg up to other candidates that I got multiple offers just 2 months ago because of it. The company I went with promoted me to Senior on the project I'm assigned to because of my strong knowledge of SwiftUI.. BUT.. my 3 years previous of UIKit is why I'm so good at SwiftUI..all those custom views are from good old UIKit.. so can't escape UIKit knowledge. It takes learning both and being great at both to be competitive.. at least this was as of 2 months ago when I was trying so hard to get an iOS job.
@nickgennady
@nickgennady 2 жыл бұрын
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
@natgenesis5038
@natgenesis5038 Жыл бұрын
is SwiftUI useful in iOS Dev ???
@nickgennady
@nickgennady Жыл бұрын
@@natgenesis5038 yes but annoying to use if your used to other ways of coding.
@rev_kous9275
@rev_kous9275 3 жыл бұрын
Definitely, working with UIKit before starting with SwiftUI.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Yep!
@ericdraven7857
@ericdraven7857 Жыл бұрын
SwiftUI is the future. Might as well get use to it at this point. Especially a year after this video came out
@IamJewz
@IamJewz Жыл бұрын
Debugging a SwiftUI stack trace is still a tricky task today
@jeremystewart6552
@jeremystewart6552 3 жыл бұрын
I would love more swift ui videos, im building a new app and need all the swift ui videos
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Coming soon
@anhhanry7167
@anhhanry7167 2 жыл бұрын
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 all.....SwiftUI is the future of Apple company,.... Simple, no more argument.
@Oisinkelly308
@Oisinkelly308 2 жыл бұрын
It’s not about what you have, it’s about how you use it!
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Yep!
@manni7317
@manni7317 Жыл бұрын
Exactly !
@juliansha2590
@juliansha2590 Жыл бұрын
For me if it’s just about building the app, SwiftUI just feels newer. I’m pretty good in SwiftUI but my concern is that when I look for a job, either they won’t know what framework their developers need or they’ll still be using UIKit.
@SkoroVideo
@SkoroVideo 3 жыл бұрын
Great video! Agree with most of your arguments. I do however think that rewriting your app into SwifUI can be worth if you care about accessibility. In my experience you get so much more for free then with UIkit.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thats a pretty solid point for accessibility!
@dadrewco100
@dadrewco100 3 жыл бұрын
What do you suggest for building apps for Apple developer ?
@iOSAcademy
@iOSAcademy 3 жыл бұрын
General Apple? UIKit or SwiftUI based on goals
@dadrewco100
@dadrewco100 3 жыл бұрын
@@iOSAcademy for Apple apps .
@nitesh-maharaj
@nitesh-maharaj Жыл бұрын
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.
@KimbrellBrad
@KimbrellBrad 3 жыл бұрын
You tackled this subject from the correct mindset. As a newer indie dev I think SwiftUI is the choice. But of course if you are looking for a job in most industry and they have legacy code you must know UIKit. I learned UIKit first and then jumped into SwiftUI because for me it is much more enjoyable to write SwiftUI code. And since I am a retired software developer I get to make my own choice. Great perspective, especially coming from someone that has a very deep background in UIKit! Thanks for removing the emotion and attacking the question from a reasonable perspective!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks! Indie devs == Swiftui
@YousefHaidary
@YousefHaidary 3 жыл бұрын
Hey Madd, I've recently started learning SwiftUI and found it enjoyable. I didn't know that UIKit is better to learn at this point in time. Do u recommend me switching over to UIKit or should I continue with SwiftUI?
@iOSAcademy
@iOSAcademy 3 жыл бұрын
@@YousefHaidary depends on your goals
@neslzkusfep
@neslzkusfep Жыл бұрын
The audio level of the background music made listening a tad challenging for me personally. Thank you for your thoughts on the two frameworks!
@meetz
@meetz 3 жыл бұрын
I agree with most of what you said besides the startup part. Choosing SwiftUI over UIKit on an actual startup on a serious backend would be a poor choice. On a simple productivity app it’s great!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Good perspective
@isaac80745
@isaac80745 10 ай бұрын
I've done both, but UIkit imo is important to build fundamentals. many companies will require proficiency in UI kit way prior to knowing swift ui. i think apple should add xml functionality in Ui kit so developers can manage apps different from being a UI designer. picking up a reactive framework is way ahead of a beginner starting to learn to code.
@YSBoom
@YSBoom 3 жыл бұрын
love this new style of video! would deffo like to see more videos in this style. strikes a great balance between Swift tutorials and vlog style videos. I personally prefer SwiftUI but a good balance between UIKit videos and SwiftUI videos would be good.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks! Yes! I personally loved doing this kind of video
@jabraham08
@jabraham08 3 жыл бұрын
Just beginning learning. I was learning SWIFTUI now will switch to UIKIT and keep SwiftUI for weekend learning.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Solid plan
@YousefHaidary
@YousefHaidary 3 жыл бұрын
Hey man I've been learning 100daysofSwiftUI and didn't know that UIKit is better to learn at this point in time. Do u recommend me switching over to UIKit or should I continue with SwiftUI?
@busimo
@busimo 2 жыл бұрын
@@YousefHaidary what did you do bro?
@YousefHaidary
@YousefHaidary 2 жыл бұрын
@@busimo i switched to UIKit
@busimo
@busimo 2 жыл бұрын
@@YousefHaidary how's it going bro?
@meetz
@meetz 3 жыл бұрын
It’s great but not production ready… I feel a lot of tutorials are misleading with SwiftUI. They show you how to make a nice looking user interface but that’s all there is to it. Core functionality is missing in SwiftUI. Don’t get me wrong I love SwiftUI and have released an app with it but just doesn’t offer what UIKit offers
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Agreed
@manni7317
@manni7317 Жыл бұрын
Totally agreed
@lennyedwards62
@lennyedwards62 3 жыл бұрын
Agree on the state of the job market today and the reluctance to rewrite for the sake of rewriting. One thing I think you might have missed there though is how ground is lost in tiny increments at first and then massive chunks as its accepted that fashion has changed. Then the burden of left behind kicks in. UIKit is/was great but declarative, reactive engineers are available elsewhere outside the typical ios development bubble and the move to SwiftUI will likely bring in loads more engineers than additional new features in UIKit will. As soon as that fashion shifts and engineers start prioritizing projects for the purposes of commercial experience with SwiftUI then companies will shift to keep attracting talent. Did all that jQuery need to be rewritten in react? No but it was because people wanted an attractive stack that drew good engineers. The same effect will happen with SwiftUI as long as apple pimps it out accordingly and if it's a fully cross platform offering it will be lapped up because engineering efficiencies will eventually be worth the initial spend.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Very good perspective. Jquery used to be my jam way back in the day
@jackcottonbrown
@jackcottonbrown 2 жыл бұрын
Yo yo! The background music is a bit loud and distracting in this vid, but otherwise, nice to see the new style!
@alexandershangin1191
@alexandershangin1191 3 жыл бұрын
Wish you could make a big project in UIKit with RxSwift, that would be awesome !)
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Working on it!
@StevenSmith68828
@StevenSmith68828 2 жыл бұрын
I just go with what ever the API I’m using uses. The documentation is easier to read if it’s in the same language Google APIs uses UIKit so I use it.
@henryouang
@henryouang 3 жыл бұрын
Loved hearing your thoughts. I personally did not like the music in the background as I found it distracting when trying to focus on your voice - could you tone it down or just cut it out completely next time? Just my take on it, Thanks!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Good feedback
@dhayanithis5822
@dhayanithis5822 2 жыл бұрын
Hey! Can you make a video about how to get a job in apple?
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Sure thing
@prathprath265
@prathprath265 3 жыл бұрын
Uikit + asyncdisplaykit secret of magic for ios.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Agreed
@Connor-pj2tg
@Connor-pj2tg 3 жыл бұрын
Music was a tad too loud, but overall great video!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks! Ill make sure to tone it down a bit!
@karlmcgeough9156
@karlmcgeough9156 3 жыл бұрын
More UIKit tutorials would be nice!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Dont worry - Im def on it!
@gasparfreak
@gasparfreak 3 жыл бұрын
@@iOSAcademy Thank you so much!
@busimo
@busimo 2 жыл бұрын
Widgets don't work in UIKit isn't it?
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Correct
@Monique-pe3zf
@Monique-pe3zf 3 жыл бұрын
iwish some videos about Augmented Reality
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Coming soon
@fabricioaraujo7642
@fabricioaraujo7642 3 жыл бұрын
nice
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@The-Dev-Ninja
@The-Dev-Ninja 3 жыл бұрын
good
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@saikumarreddygujjula3703
@saikumarreddygujjula3703 3 жыл бұрын
Please add lifetime member ship
@iOSAcademy
@iOSAcademy 3 жыл бұрын
For code or courses?
@saikumarreddygujjula3703
@saikumarreddygujjula3703 3 жыл бұрын
@@iOSAcademy Thank you For replying, both code and courses
@Paberu85
@Paberu85 Жыл бұрын
(Is UIKit Better?) - yes
@iOSAcademy
@iOSAcademy Жыл бұрын
Perhaps
Should you learn SwiftUI or UIKit in 2022
10:36
Kenny Grandberry
Рет қаралды 1,3 М.
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 48 МЛН
1❤️
00:17
Nonomen ノノメン
Рет қаралды 13 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 27 МЛН
Why I don't do MVVM anymore
10:56
Flo writes Code
Рет қаралды 6 М.
Why I *highly dislike* iOS Development
10:38
mayuko
Рет қаралды 344 М.
What Is SwiftUI? | In Under 10 Minutes
6:57
Matt Heaney Apps
Рет қаралды 14 М.
Python vs Swift | Chris Lattner and Lex Fridman
11:16
Lex Clips
Рет қаралды 150 М.
SwiftUI vs UIKit - What Should iOS Development Beginners Learn First?
7:25
The Green Developer
Рет қаралды 8 М.
MVVM is BAD for SwiftUI - Use MVC Instead! (Yes, MVC)
13:28
Rebeloper - Rebel Developer
Рет қаралды 4 М.
Intro to UIKit and UIViews | iOS and Swift
22:54
Sam Meech-Ward
Рет қаралды 23 М.
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 48 МЛН