SwiftUI vs UIKit (See UI built 3 different ways)

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 136

  • @CodeWithChris
    @CodeWithChris  5 років тому +6

    QOTD ⚡ When do you find time for learning new things? Let me know! 👇 Kick start your own app with my free 7 Day App Action Plan ➡️ cwc.to/swiftui01-actionplan

    • @marcogarzon7043
      @marcogarzon7043 4 роки тому +1

      Whenever I've got time, sometimes after work, sometimes on weekends

    • @naturetalk_0
      @naturetalk_0 4 роки тому

      can you make a vedio on credit card payment method ?? in ios

    • @CandiceKhanna
      @CandiceKhanna 4 роки тому

      It sounds odd, but I learn and code from about 1am - 5am (PST). That’s because I have a baby full time, and my husband works M-F in tech mostly on Zoom these days. At night everyone is asleep and I can focus for a large chunk of time. Baby sleeps until 12 noon and I nap with him if need be. Thanks 🙏🏽 you’re great. Much better than Coursera and Udemy by far

  • @valerika9164
    @valerika9164 5 років тому +11

    Chris, thank you very much! 😌 Since SwiftUI was announced, I felt quite depressed. Like all my efforts about UIKit are kinda useless right now, progress runs so fast that I am out of time already. But you helped me, your optimism and enthusiasm inspire and give motivation ✊🏼
    Thank you for your light and energy! I am excited about the 5th SwiftUI lesson 🙋🏼‍♀️

    • @CodeWithChris
      @CodeWithChris  5 років тому +2

      Thanks! We're so glad that we have inspired you to just keep going! Knowing this motivates us to keep creating more content like this. 🙌
      Kat

  • @anciltech
    @anciltech 5 років тому +5

    Good intro! I like that you showed how it could be done with uikit, I had never seen it written out. Makes me appreciate SwiftUI even more. Maybe include timestamps for people who are only interested in the UIkit part?

    • @CodeWithChris
      @CodeWithChris  5 років тому

      Thanks for the feedback and for the suggestion! 👍
      Kat

  • @rachelwoodward4482
    @rachelwoodward4482 5 років тому +2

    I'm really new to Swift/Xcode, but I LOVE this! It makes me think of how easy the latest version of Pages is to work with. It's like desktop publishing meets programming... Brilliant!

  • @andreagrumpeenlate5813
    @andreagrumpeenlate5813 5 років тому +4

    Love it! Finally explained calmly and by steps

    • @CodeWithChris
      @CodeWithChris  5 років тому

      Thank you! Glad you enjoyed the tutorial.
      Kat

  • @Talldrtomas
    @Talldrtomas 4 роки тому +2

    I decided to jump on swiftUi. Thanks for this video. Morning before workout and class. But if i am on a good one (coffee) right before sunset as it sets the mood.

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Perfect! Thanks for learning with us.
      - Kat

  • @AkimboFennec
    @AkimboFennec 2 місяці тому

    Now we are in 2024 in iOS 18, and I got to say that SwiftUI is an absolute joy to work with. I can’t even imagine how difficult building UI with UIKIT used to be. After you taste SwiftUI, you would be repelled by UIKIT. Thank you to Apple for creating such an amazing framework.

  • @skykream3450
    @skykream3450 4 роки тому +1

    Awesome videos, they're really informative and engaging. I used to make apps with React Native but have gotten into Swift a lot recently, and your videos are a god send.

    • @CodeWithChris
      @CodeWithChris  4 роки тому +1

      Thank you for the kind words! Never had the chance to test React Native, maybe you could give us a lesson! 😉
      @AdrienVillez

    • @tapiwakundishora6195
      @tapiwakundishora6195 4 роки тому

      Hey literally same! What do you prefer programmatic or storyboards?

  • @tapiwakundishora6195
    @tapiwakundishora6195 4 роки тому

    Wow, I can't even begin to express my gratitude for your existence. This Video explains concepts so well and motivates me in my oath to becoming an iOS developer. New fan and subscriber right here! GREAT CONTENT! Please continue doing the lord's work

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      You're so gracious, Tapiwa! We can't thank you enough! :-) -Arthur

  • @joebuydem
    @joebuydem 2 роки тому

    bro the best explanation. thank you.

  • @CosmicPen
    @CosmicPen 4 роки тому +3

    You started with the default SwiftUI view. Of course, it's going to easier in swiftUI. I think SwiftUI is cool, but it's not a replacement language. I'm not a big fan of the slow storyboards but I don't see them as going obsolete like ObjectiveC. A great tutorial would be using UIKit and SwiftUI together where the strength of each is used in their own view. Good work though.

    • @CodeWithChris
      @CodeWithChris  4 роки тому +1

      Good point! Thanks for the suggestion!
      - Kat

  • @glennadams7047
    @glennadams7047 5 років тому +4

    Excellent primer. Looking forward to next lesson. RE your question, I prefer a late-night coffee shop with excellent lattes and wifi :-)

  • @crazyice-cream7794
    @crazyice-cream7794 Рік тому

    Chris, thank you very much! I am excited to discover a lot of new things I never knew! 💚

    • @CodeWithChris
      @CodeWithChris  Рік тому

      Thanks for watching! I'll be sure to let Chris know :) - Iñaki

  • @jizhou749
    @jizhou749 2 роки тому

    Thank you, Chris. I am a beginner from 0. Love your class and love you.👍

  • @volimpia
    @volimpia 5 років тому +2

    I too learn best in the early morning or really late night. Sadly in the morning i have things to do. But if i can learn in mornings, it's very productive.

    • @CodeWithChris
      @CodeWithChris  5 років тому +1

      Me too! If I can't learn in the morning, I just push it at night. But if I learn in the morning, I feel like my whole day is productive lol.
      Kat

  • @devhopes
    @devhopes 4 роки тому +1

    Thank you Chris :)

  • @veerpatel6719
    @veerpatel6719 5 років тому +1

    Hey Chris! Loving your channel so far! Since you make lots of beginner content could you please make a series for intermediate people. Assume that we have watched your other videos and I think we should start doing things without the storyboard if there is a new series. Thanks

    • @CodeWithChris
      @CodeWithChris  5 років тому +1

      Hello Patel! That's what we're working on currently. Thanks!
      Kat

    • @veerpatel6719
      @veerpatel6719 5 років тому

      Cheers

  • @judy8821
    @judy8821 5 років тому +1

    I learn best in morning but I’m retired now so anytime is good. SwiftUI is going to be great!

    • @CodeWithChris
      @CodeWithChris  5 років тому

      Cool! Thanks for learning with us!
      Kat

  • @mychongck
    @mychongck 4 роки тому +1

    Great SwiftUI intro!

  • @JoeDoe1
    @JoeDoe1 4 роки тому +1

    Thank you.

  • @algoboi
    @algoboi 4 роки тому +2

    I can learn anytime, just the learning should be joyful with good presentation

  • @williamstorey5024
    @williamstorey5024 5 років тому +1

    I watch videos in the morning with coffee and implement if I have time

    • @CodeWithChris
      @CodeWithChris  5 років тому +1

      Cool! Morning is really the best time to learn new things. 😊
      -Kat

    • @williamstorey5024
      @williamstorey5024 5 років тому

      CodeWithChris yes it is. To tired at night after work. In morning I’m refreshed and optimistic

  • @bakdauletm5080
    @bakdauletm5080 5 років тому +1

    I love your videos

    • @CodeWithChris
      @CodeWithChris  5 років тому

      Thanks! And I love your channel icon!
      -Kat

  • @trevormontgomery6795
    @trevormontgomery6795 5 років тому +5

    I’ve already got my base app built in swiftui. I’m trying to figure a few things out database wise, I’ll look into your fire base tutorials. Cheers Chris

  • @lifutao3446
    @lifutao3446 5 років тому +2

    mornings, wake up early before class.

  • @arindamsantra8537
    @arindamsantra8537 4 роки тому +1

    Morning time is best for learning new things

  • @marcogarzon7043
    @marcogarzon7043 4 роки тому +2

    Hey Chris are you going to integrate this new SWIFTUI into the step2 or 3 of the Plan (after the 29 day challenge)

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Hello, are you referring to the paid courses Fundamentals & Database?
      - Kat

    • @marcogarzon7043
      @marcogarzon7043 4 роки тому

      @@CodeWithChris Im refering to the One day build and so on.

  • @shabba194
    @shabba194 5 років тому +2

    I learn after work and on the weekends

  • @newbiegeek8407
    @newbiegeek8407 4 роки тому +1

    hey Chris as you said in the video that swiftUI only works on ios 13 and later versions and now there is xcode 12 ,does xcode 12 work on ios 13 above and below and does it have better features

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Hello, yes moving forward Xcode will continue to update. a newer version of xcode will also enable you to build for a newer version of iOS
      - Francis

  • @mryup6100
    @mryup6100 5 років тому +2

    Great!

  • @super1zak
    @super1zak 5 років тому +1

    Top man Chris

  • @lycansre
    @lycansre 4 роки тому +2

    so which is faster? a SwiftUI app or a UIKIT app?

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Both are the same, Swift and SwiftUI is 2 similar but different ways to write apps. After that all is compiled/transformed into zeros and ones, so the end result is the same
      @AdrienVillez

  • @RizosKonstantinos
    @RizosKonstantinos 5 років тому +1

    SwiftUI the future!

  • @bitwisedevs469
    @bitwisedevs469 2 роки тому

    Hi Chris, I am following your videos and I wanna know if I should go directly to SwiftUI when learning iOS development in 2022 considering having a years of experience in software development? Thanks a lot!

    • @CodeWithChris
      @CodeWithChris  2 роки тому +1

      Yes, you can do that! Thanks for learning with us! -Arthur

    • @bitwisedevs469
      @bitwisedevs469 2 роки тому

      @@CodeWithChris but would you recommend it?

  • @sidharthadevbakshy2920
    @sidharthadevbakshy2920 4 роки тому +1

    where can i find your image assets for the pink building?

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Hello, we don't have the asset available for download.
      - Kat

  • @augustogalindo8687
    @augustogalindo8687 5 років тому +1

    Just one question: how do you resize an image? I’m struggling with it

    • @anianii
      @anianii 5 років тому

      First you need the .resizable() modifier and then you can set the size with .frame

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Thanks for helping each other out! All the best! :-) -Arthur

  • @ecptavares
    @ecptavares 5 років тому +1

    I still prefer UIKit but I am learning swiftUI to keep up with new tendencies.

    • @CodeWithChris
      @CodeWithChris  5 років тому +1

      It's awesome that you're trying to learn both. How far are you on your Swift journey?
      Kat

    • @ecptavares
      @ecptavares 5 років тому

      About a year.

  • @cherriepie
    @cherriepie 2 роки тому

    Where can I learn programming a uI with UIKit??? I can't find a tutorial anywhere

    • @CodeWithChris
      @CodeWithChris  2 роки тому

      Hello, best to post your question in our CodeCrew forum so that our tech support staff can assist you: codecrew.codewithchris.com. Thanks for learning with us! :) -Arthur

  • @droid6298
    @droid6298 4 роки тому +1

    chris i would like to know how to add friends / get suggestion of friends / send and receive request by code . it could be helpful for me

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Hello, i suggest looking into firebase on how you can work with data ua-cam.com/video/qA9L3_cK9Z0/v-deo.html
      you need to figure out how to list things on a table/collection and have it do what you want so you can better understand what your doing
      - Francis

  • @zookini33
    @zookini33 4 роки тому

    SwiftUI looks good but backwards compatibility could be an issue as you pointed out. It's hard to decide what you're going to support sometimes. Also, unless your hardware/firmware supports Mojave you are out of luck for Xcode 11. Like many of us with older Mac Pros (early 2009 for instance), we have Frankensteined our hardware and system firmware as far as we can take it without spending a lot of money on later models or a new laptop. I personally prefer a desktop and I'd like to see some Mac OS programming tutorials from you but I'm concerned that updating to Xcode 11 (when I can) may cause backwards compatibility issues with OS like High Sierra and further back than that.
    I really like your tutorials and have been using them a long time!

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      "Hello, sadly if your going for new ios versions you will need tro upgrade to mojave and even big sur, however its still possible to go swift 5 and maybe early versions of SwiftUI but thats probably it.
      we have an guide how to install xcode 10.2 or 10.3 for high seirra if you are interested.. if you are curious you can even try it on high versions of Xcode if it works codewithchris.com/xcode-update/
      - Francis"

  • @michaelmike13
    @michaelmike13 5 років тому

    I am highly interested in iOS development. But I use an outdated Macbook Pro which is stuck on macOS 10.12.6 with XCode 9.2. I am wondering if I can make and publish apps for the latest version of iOS using Xcode 9.2? Otherwise I am going to wait until I can buy a new macbook. Thank you for publishing these iOS tutorials, we students really appreciate your passionate teaching.

    • @michaelmike13
      @michaelmike13 5 років тому

      @@GGGG-qq8in thankyou!! will start doing so

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Thanks for helping each other out. Keep on going! :-) -Arthur

  • @amurthar2058
    @amurthar2058 4 роки тому +1

    Hii.. I am very new for this ios platform.. I dont have any knowledge about ios apps and uikit.. How can i learn swiftui along with basics uikit.. Can u help me to learn swiftui???

    • @CodeWithChris
      @CodeWithChris  4 роки тому +1

      Hello, I suggest not starting with SwiftUI as this will just confuse you as a total beginner. You can try starting with this playlist instead bit.ly/BeginnersPlaylist
      - Kat

    • @amurthar2058
      @amurthar2058 4 роки тому

      Tq so much.. Can i ask any doubts regarding this videos?? How can i contact u?? Do u have any mail id or anything else??

    • @CodeWithChris
      @CodeWithChris  4 роки тому +1

      @@amurthar2058 We created a forum for people needing coding help. You can jump over to our CodeCrew Support Group: bit.ly/CodeCrewCommunity if you have coding questions. Thanks!
      - Kat

  • @Leeds1919LUFC
    @Leeds1919LUFC 4 роки тому +1

    so is SwiftUI less about ‘coding’ and a way for beginners to get involved with being a Developer?

  • @rushikadali8234
    @rushikadali8234 5 років тому +1

    Hi, I have lately been wanting to make an app that can connect to an external Bluetooth device such as a Raspberry pi and communicate information. I have already set up the Raspberry pi and need to create an app for it. Can you please direct me to some resources that could help me to make this app? Thanks!

    • @CodeWithChris
      @CodeWithChris  5 років тому

      Github is a great place to search for projects you can reuse or learn from. Have you already learned the basics? If not yet, I would recommend starting here bit.ly/LearnSwift2019 and here bit.ly/BeginnersPlaylist
      These playlist will give you the foundation you'll need to build any app. Then you can move on to more advanced app features like that. :)
      Kat

  • @oyasanoh955
    @oyasanoh955 5 років тому

    Hi Chris, can we use Xcode UI for Androids?

    • @CodeWithChris
      @CodeWithChris  5 років тому

      No, you will need Android Studio to build Android apps.
      -Kat

  • @mastery200
    @mastery200 4 роки тому

    thanks you thanks you thanks you

  • @bitsurfer0101
    @bitsurfer0101 4 роки тому

    What if I don't see "Number of Lines" when I add a TextField to a storyboard? Is it because of the text alignment selection or maybe something else?

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Hello, there. should be a "lines" property when you add a textfield on your storyboard
      - Francis

  • @anianii
    @anianii 5 років тому +2

    Could you show us how to do shortcuts actions? That would be really cool :D
    Love your content 👍🏻

    • @CodeWithChris
      @CodeWithChris  5 років тому

      Thanks! Here's a quick video for shortcuts ua-cam.com/video/bIrDFpr0eMU/v-deo.html
      Kat

  • @anushagattamaneni4435
    @anushagattamaneni4435 3 роки тому

    I am planning to start my career as ios developer . Please guide me where should I start ? What are difference between Swift, SwiftUI ,XCode, Cocoa,Cocoa pods and Cocoa touch ...all these wordings are so confusing ...what is UIKit ?please guide me. Thankyou.

    • @anushagattamaneni4435
      @anushagattamaneni4435 3 роки тому

      What is React ,Git and Github ?

    • @CodeWithChris
      @CodeWithChris  3 роки тому

      Hello, Anusha! It will all start to make sense once you start here: codewithchris.com/start. You'll learn all of these things as you learn along with us. Take it one step at a time. :-) -Arthur

  • @diegocamilopenaramirez6101
    @diegocamilopenaramirez6101 3 роки тому

    I don`t understand, does swiftui replces storyboard?

    • @CodeWithChris
      @CodeWithChris  3 роки тому +1

      "Hello, yes basically SwiftUI is the new way to write iOS apps.. storyboard is still doable though if you still feel like doing it.. moving forward though all our new videos and courses will be done in SwiftUI
      you can check our courses here if you are interested learn.codewithchris.com
      - Francis"

  • @droid6298
    @droid6298 4 роки тому +1

    looking forward for ur reply

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Hello, our tech person will be answering your question. Thanks!
      - Kat

  • @viewfinder1801
    @viewfinder1801 5 років тому

    I get 6 errors when I type label.text = "Hello". What is going on?

    • @CodeWithChris
      @CodeWithChris  5 років тому

      Hello, what are your errors?, did you add the iboutlet properly?. you may want to head on over to codecrew.codewithchris.com so we can take a look at your app/error
      - Francis

  • @johnhestenes2064
    @johnhestenes2064 5 років тому

    I tried both UIKit and SwiftUI to implement RealmSwift database. Failed because Apple switched from bash to zsh in Terminal. See my Community entry on ios Applications/ Realmswift repo Podspec. Any fix?

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Hi! Can you kindly head over to our forum community so that our technical support staff can assist you regarding this? codecrew.codewithchris.com :-) Thanks a ton! -Arthur

  • @MrMurmandramas
    @MrMurmandramas 4 роки тому

    And there I thought, you had to bee a coder from the Matrix to write this new SfiftUI stuff without visual references and the ability to position UI elements with your hands.

    • @CodeWithChris
      @CodeWithChris  4 роки тому +1

      Haha, thanks for dropping by! :-) -Arthur

  • @TonyDaExpert
    @TonyDaExpert 4 роки тому +1

    If I drink coffee I can learn all day if not I have to wait till later in the day

  • @kennikollemorten4184
    @kennikollemorten4184 3 роки тому

    I learn the best after 8 pm😅

    • @CodeWithChris
      @CodeWithChris  3 роки тому

      Oh wow, same! Thanks for learning with us! -Arthur

  • @bitsurfer0101
    @bitsurfer0101 4 роки тому

    I normally like to learn something between 11-3pm.

  • @MrIMacro
    @MrIMacro 4 роки тому

    So swift UI is not good for beginners?! You need to know how to code. Well, for me I think I'll stick to the storyboard and drag whatever i want just like what i do in Android Studio.
    Thanks again.

    • @CodeWithChris
      @CodeWithChris  4 роки тому +1

      Thank you for dropping by! SwiftUI can be learned even by beginners.

  • @VaultBoy69
    @VaultBoy69 5 років тому +1

    SwiftUI is still immature and for certain ways I still prefer UIKit

  • @cedenoalvaro
    @cedenoalvaro 2 роки тому

    Nights are better for me to program

    • @CodeWithChris
      @CodeWithChris  2 роки тому

      Thank you for sharing your thoughts! - Pat

  • @warrenscorner
    @warrenscorner 5 років тому

    I hate it! It took me so long to learn UIKit and now they change the game. I wish Apple would just stop messing with everything. There are still bugs in previous versions of Xcode, how about fixing those? There are way too many major updates. I gave up on Windows because of all the failed updates and now Apple is following the same direction. Bad Apple!

    • @CodeWithChris
      @CodeWithChris  4 роки тому

      Thanks for sharing your insights! Let's hope for the best! :-) -Arthur