Your First SwiftUI App (Full Compilation!)

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 389

  • @rockerphil6247
    @rockerphil6247 Před 3 lety +2

    CodeWithChris is a wonderful and easy way to learn SwiftUI. I'm a retired (70 years old) engineer, programer, product manager and substitute teacher. Chris is one of the best teacher I've seen in a long time. Thank you Chris.

    • @CodeWithChris
      @CodeWithChris  Před 3 lety

      Wow, you're awesome! Welcome to the family! :-) -Arthur

  • @shalin-rev
    @shalin-rev Před 4 lety +7

    This is a great video, one of the few iOS devs on CZcams who truly know what they're doing and can explain it with precision. Thanks for uploading

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Glad you enjoyed it! Thanks for learning with Chris!
      - Kat

  • @layeredcity1954
    @layeredcity1954 Před 4 lety +13

    I just finished this series of tutorials and found your teaching style to be an exact match for how I learn. I especially liked how you showed the obvious/intuitive way to approach something, and then re-did it to be slightly more elegant and sustainable. That was invaluable. Thank you!

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Thank you for the feedback! We really appreciate this.
      - Kat

  • @TheChangospace
    @TheChangospace Před 4 lety +35

    Great video and excellent communication skills, tone of voice, etc...

  • @OleRene
    @OleRene Před 4 lety +4

    Thanks a lot, Chris. This is my first intro to SwiftUI, and I particularly like that you show the "long code", and the abbreviate it. Besides that I find your pace and friendly voice very nice.

  • @diegov5072
    @diegov5072 Před 4 lety +2

    Thanks @CodeWithChris for this tutorial. Sometimes it is a lot more practical to watch a lesson instead of having to adventure off by yourself after 8 hours of daily work.

  • @spekulatius2315
    @spekulatius2315 Před 4 lety +4

    One of the best / most useful YT-videos I have ever watched :) Thank you for all that information and inspiration

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Always happy to help! Thank you for the kind words!
      @AdrienVillez

  • @newbiegeek8407
    @newbiegeek8407 Před 4 lety +1

    i signed up for your 7DAAP and its really nice. The way you teach ,its so easy to understand.

  • @GG-hk5iz
    @GG-hk5iz Před 4 lety +1

    Chris your voice and way of explanation is so calm .

  • @ThatDereKid
    @ThatDereKid Před 4 lety +4

    Hey Chris just want to say I really appreciate this video. It's helping me acclimate to the new framework and it's great to have a well-constructed tutorial such as this with clear commentary/explanations.

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Thank you for watching this! We're so happy to hear that you found this tutorial helpful!
      - Kat

  • @umedoblock-Labo
    @umedoblock-Labo Před 2 lety

    I made this example.
    Thanks Chris !
    Very very helpful video !

  • @skazad001
    @skazad001 Před 4 lety +2

    You are amazing man! Lovely tutorial all the time from you.

  • @mrglwatson
    @mrglwatson Před 4 lety +1

    Chris, like you I am a morning person and I do my best work before lunch.

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Love that! Have fun learning!
      - Kat

    • @mrglwatson
      @mrglwatson Před 4 lety

      CodeWithChris thanks Chris, just picked up my Mac after a couple of years not doing anything with it. Enjoying the course so far.

  • @maxm8746
    @maxm8746 Před 4 lety +2

    Just wanted to drop a quick ‘thank you’. Fantastic work, learned a lot!

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Cheers, Max! We appreciate your support! -Arthur

  • @simonboti2247
    @simonboti2247 Před 2 lety

    Super great video makes excited to learn more and get started! Love the "stay organized" motto !!

    • @CodeWithChris
      @CodeWithChris  Před 2 lety

      Hey Simon! Thanks for the kind words! Yup, it's always fun to learn more!! Thanks for watching and learning with us! :) - Pat

  • @ddo_o_o_o
    @ddo_o_o_o Před 4 lety +1

    Is this real that all of these lectures for free??? Unbelievable god🤣 Thanks for offering❤️

  • @pabloevuu5232
    @pabloevuu5232 Před 4 lety +1

    I love your videos Chris. You're easily one of the best Xcode teachers here on CZcams, if not the best. I have a little improvement suggestion tho .. can you next time show us the solutions for the exercises you give us in the videos ? That would help a lot, other than that please keep your great work as it is ... I love your tutorials man 👍🏼

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Thanks for the feedback! We have a solutions video for the Slots app. :) czcams.com/video/LME6cZ-2Vuc/video.html
      - Kat

    • @pabloevuu5232
      @pabloevuu5232 Před 4 lety

      CodeWithChris great, I’ll watch it ! Thank you very much !

  • @joshuadiaz1954
    @joshuadiaz1954 Před 4 lety +1

    Thank for this video man. Full time Android dev here wanting to switch to ios

  • @abdullahdawood1200
    @abdullahdawood1200 Před 3 lety +1

    Thanks Chris you will get good deeds

  • @aj51081
    @aj51081 Před 2 lety

    Great tutorial! This is my first delve into coding and helped a lot. I managed to include horizontal columns and separate the credits into credits and winnings. My next challenge is to add a cash out button that adds the winnings back into the credits just to see if I can do it

    • @CodeWithChris
      @CodeWithChris  Před 2 lety +1

      Great work! Feel free to update us. :) -Arthur

  • @jawaadmcs
    @jawaadmcs Před 4 lety +6

    2:00 AM now and going to start.

  • @DukeOBass
    @DukeOBass Před 2 lety

    I couldn't find the assets folder down in the description so I made my own. I created the Checkmark Heart and it turned out pretty close! I tried to attach a screenshot so you could see the final challenge solution I came up with as it looks visually.
    It's probably very crude but it works.
    Here's my code:
    import SwiftUI
    struct ContentView: View {
    var body: some View {
    ZStack {
    Image("avacadotoast")
    .resizable()
    .edgesIgnoringSafeArea(.all)
    VStack {
    HStack {
    VStack {
    Text("Hardcore")
    .font(.title)
    .fontWeight(.medium)
    .foregroundColor(Color.white)
    Text("Avo Toast")
    .font(.title)
    .fontWeight(.medium)
    .foregroundColor(Color.white)
    }
    .position(x: 75, y: 50)
    Image("checkmarkheart")
    //.padding()
    .position(x: 150, y: 35)
    }
    Spacer(minLength: 300)
    Text("Energize with this healthy and hearty breakfast")
    .fontWeight(.medium)
    .foregroundColor(Color.gray)
    }
    }
    }
    }

    • @CodeWithChris
      @CodeWithChris  Před 2 lety

      "Hello, great going.. assets are should be changable anyway right.. you can also checkout our latest free course and course contents over on learn.codewithchris.com
      - Francis"

  • @abe10
    @abe10 Před 4 lety +1

    Exactly what i needed. Thanks Chris!

  • @tojal
    @tojal Před 2 lety +1

    This was an interesting project, thank you 😃

    • @CodeWithChris
      @CodeWithChris  Před 2 lety

      Did you complete it and remix it at your own sauce?
      Post your version in our CodeCrew forum: codecrew.codewithchris.com/
      @AdrienVillez

  • @engrel1
    @engrel1 Před 4 lety +96

    I’m a full-time dad, so I have to learn whenever my son is sleeping 😂

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +22

      I salute you for finding some time to learn while being a parent. 👏
      - Kat

    • @WorkPlayWander
      @WorkPlayWander Před 4 lety +2

      You are awesome. These lessons are so easy to understand. Thank you for doing this. I’m learning a lot

    • @JustJohnson
      @JustJohnson Před 4 lety +1

      Same 😅

    • @joshuadiaz1954
      @joshuadiaz1954 Před 4 lety +1

      1:00 am kids are asleep, wife is asleep, me learning swift ui

    • @lesliechiu1437
      @lesliechiu1437 Před 3 lety

      @@joshuadiaz1954 Unbelievable

  • @oxirosmusic
    @oxirosmusic Před 4 lety +1

    For the uikit example you could’ve used just ‘.center’ with no constraints and that would have centered it without the need of all those constraints if I’m not mistaken, but you made the point really good, uikit is a pain lol. Great video!

  • @mrglwatson
    @mrglwatson Před 4 lety +1

    Great video and I love the challenges, really helps the learning process.
    Can I ask which of your videos would be best to view next?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Thanks! We have a full playlist of SwiftUI tutorials here czcams.com/play/PLMRqhzcHGw1Z-lZaaun3A3mV9PbEfHANI.html
      - Kat

  • @ammarmujib
    @ammarmujib Před rokem

    very good lecture, thanks for such detailed and insightful explaination. Only 1 thing need to discuss, that in example of binding in slot app and using it on symbols, there even if you make it simple property (w/o binding or even @State) it works bcz withing CardView we are not changing anything in this property.

  • @jdcrunchman999
    @jdcrunchman999 Před 4 lety +1

    In response to your request for the times I can spend learning XCode... Due to severe lower back pain, mornings are best for me, but I cannot sit at computer any longer then 30 minutes before my pain level reaches an intolerable level. First, I watch tutorials all the way through, reclining on a recliner chair, often with ice in my lower back, along with learning difficulties, this doesn't leave me much time, so for a normal person who can follow the lessons all the way through, I have to do it in small chunks... The last tutorial took me 18 days to follow through, and starting over a new project at least 5 times, when I often make such large mistakes, I cannot recover from doing stupid things with Constraints (which are hard to recover from), also, in the View properties my xcode setting for Background View properties is defaulted to "aspect fill" instead of "scale to Fill" so I have to always remember to stop your video to check each and every property you have yours set for, because if I don't, I get in serious trouble and flood the forum with Frivolous postings that are boring for the other students. I might make a recommendation that when showing the propertied you remind your viewers to pause the video and take careful note on the Property settings, because in MY copy, that background-:> View->Content Mode was NOT set right, and I had NO IDEA it was wrong. So, I have to stop at 2 pm and go into healing mode with my physical therapy stuff, and it ends my programming day. So I have a total programming time from about 10:30 am to about 1 pm, but in reality, I have just an hour I can spend following your lessons.... which falls within that time slot. Almost Always, I'll corrupt a project to the point of non recovery... as recovering from mistakes are virtually impossible for me to accomplish, I just don't know that much, but I would like to make a request... can you make up some lessons on how to recover from mistakes.. in your first lesson for instance, you can delete the Constraints, but do I also have to delete the views as well? you did not mention that in your last video. I tried not doing that, but I really loused things up.... I hope others gained from this long comment....

    • @jdcrunchman999
      @jdcrunchman999 Před 4 lety

      Commenting on your pace, you are going much too fast for me, but I just slow the video down in sections, but still manage to miss a few steps. But I can deal with that, and it's another reason why I'm so slow in following your videos.. I'm 77 yrs old, USAF Veteran, and retired programmer, and very slow to catch on... That old saying "You can't teach on old horse new tricks" has a little truth in it.

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello John. Thank you for your comment. I'm really sorry to hear everything that is happening to you.
      Programming and learning programming is really something that will take you more time and effort I have to say. Small sittings of 30 minutes are indeed really short and I can't imagine trying to focus on a tutorial and programming exercice while having body pains.
      We did create the 29 Days tutorial series to help people go through the lessons one day at the time and have a good pace of learning. Now it if takes longer than 29 Days, it is completely normal. Speed is not the goal, especially when learning.
      Regarding all the settings and properties. Yes, a lot of them have default values and they aren't always the one you want or need. In programming, you will have to spend the time to work you way over and over all those properties to set them up properly for them to behave the way you need. It is time consuming, but once it is done.
      Now you said you posted a comment in our Forum and so I'm sure you got more help there than we can provide here as we are limited on CZcams.
      I have to say that I do not have any magic answer or solution aside form taking it slow and at your own pace! Now if your body doesn't allow it, maybe programming is not the right path for you, or not anymore. So give yourself another couple of weeks or months and see if you are able to make progress or not.
      Regarding the pacing, we have had people saying we are too slow too but in general we are pretty good. I do have to say that I saw a lot of tutorials aside from CodeWithChris and other tutorials do fly through the material way faster than we do here. Other even start with the idea that you have a solid foundation in programming too.
      So, I always recommend to watch (1) the full video without coding or doing anything else, (2) watch the video again, pause it to do the exercices, and (3) do the exercices while using the videos as a last help!
      You can also take it slower. Just focus on ONE element per day. One day, just play around with UILabels. Make them big small, change the text, font, color, background.... etc.
      One day at the time. See if you can stick to that and learn.
      I hope we were able to help you as much as possible. Don't stress out and take care of yourself!
      @AdrienVillez

    • @jdcrunchman999
      @jdcrunchman999 Před 4 lety

      ​@@CodeWithChris Also, i got this email about pay courses you offer. How about giving us veterans a discount for our efforts in defending our country. Veterans should be given more attention and perks. PLEASE consider this, I'm sure other veterans are going to appreciate your efforts to support them.

  • @jonathanalamillo
    @jonathanalamillo Před 3 lety

    Amazing, amazing, amazing!!! You are helping to me a lot. Thank you mate. I appreciate you.

    • @CodeWithChris
      @CodeWithChris  Před 3 lety +1

      We appreciate you more, Jonathan! :-) So glad to have you around. :-) -Arthur

  • @scriptedpixelsltd
    @scriptedpixelsltd Před 4 lety +8

    There's no link to the assets you're using when you say look in the description :/

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +7

      Sorry about that! Here are all of the resources:
      bit.ly/2AyuoOs
      bit.ly/31K9F5u
      bit.ly/3gtlSzB
      bit.ly/38qPdrl
      - Kat

  • @victornoagbodji
    @victornoagbodji Před 4 lety +1

    truly amazing introduction! 🙏 🙏

  • @Moises-nr3mw
    @Moises-nr3mw Před 4 lety +1

    ThankYou !!! Greetings from Ecuador !!

  • @alexandrodisla6285
    @alexandrodisla6285 Před 4 lety +1

    50 mn in. This si very a great quality content!!!!!!!!!

  • @ashearera
    @ashearera Před 4 lety +2

    Looks like the resources link is missing from the description now. Thanks for all the videos!

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +2

      Here are all of the resources:
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L02%2520Lesson%2520Assets.zip&redir_token=OusZa5Rlj8qosxZTHYwrI8SlSw58MTU4NDkyMTAwOEAxNTg0ODM0NjA4&event=video_description&v=rmTQcILJRcY
      czcams.com/users/redirect?v=MJP60XnN4us&event=video_description&redir_token=WAYn_gzVR9DkvnO-nB_POMY7VJV8MTU4NDkyMTA4OUAxNTg0ODM0Njg5&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L03%2520Activity%2520Assets.zip
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L04%2520Starter%2520Project.zip&v=wQLOWv8l7yI&event=video_description&redir_token=LokwxrZrkMlUj4Vfji_dWA8A4CJ8MTU4NDkyMTExNEAxNTg0ODM0NzE0
      czcams.com/users/redirect?redir_token=M_WpsanhBg_3FWOLzKMjiS_OrjB8MTU4NDkyMTE1M0AxNTg0ODM0NzUz&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L06%2520Lesson%2520Assets.zip&v=51Z9Kun7tFo&event=video_description
      - Kat

  • @theren8311
    @theren8311 Před 3 lety

    Any time is good time for me. But solving problems happen best for me in the morning after sleeping. No matter for how long.

    • @CodeWithChris
      @CodeWithChris  Před 3 lety

      Great to know that you were able to find that time when you can work best! :-) -Arthur

  • @chriseggenberger
    @chriseggenberger Před 4 lety +1

    I am loving all your videos so far! Do you have any videos or recommendations on graphic design for iOS?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Thanks! Here are our design videos:
      czcams.com/video/R5KoTZY0esk/video.html
      czcams.com/video/c9URDK3KITM/video.html
      czcams.com/video/cU6T_0j2Pp4/video.html
      czcams.com/video/WhlNnf1711M/video.html
      czcams.com/video/KWsOR5aplXI/video.html
      - Kat

  • @rudolphhock1155
    @rudolphhock1155 Před 3 lety +1

    SwiftUI looks to make coding a lot fun than it currently is, this was a good introduction.
    Although, I still don't understand why, after adding parameters to a method, that they don't automatically get introduced wherever it was called, especially as the error always suggests this - it's just an unnecessary step.

    • @CodeWithChris
      @CodeWithChris  Před 3 lety

      "Hello, dont worry SwiftUI is a relatively new language that apple has introduced and will surely go through a lot of improvements as time goes by :)
      - Francis"

  • @apoorvlele6257
    @apoorvlele6257 Před 4 lety +1

    In SwiftUI, View isn't a class but a protocol. So ContentView conforms to View protocol

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, thank you for clearing that up, yes according to documentation it is a protocol
      - Francis

  • @nataliam341
    @nataliam341 Před 4 lety +8

    When applying modifiers some of my images got stretched so they look distorted. Is there a way around this?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Hello, you can change the option of the content mode, maybe change it to Center, or Aspect Fit
      - Francis

    • @jdcrunchman999
      @jdcrunchman999 Před 4 lety

      @@CodeWithChris I was just going to mention that, and please, in your next video, please remind your viewers about this blatant "gotcha" it took about 8 days from me.

  • @arthursiebert9220
    @arthursiebert9220 Před 3 lety +1

    This is great. Thank you so much!

  • @restinpeacekobe2411
    @restinpeacekobe2411 Před 4 lety

    If I want to learn something I usually build a playlist and listen to it while I sleep, then when I’m awake I don’t feel like it’s new cause my brain has already allocated what it was hearing while sleeping. Also, when I do this, when learning while awake, I can speed up the video about 2x’s and still keep up on what the person is trying to teach.

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Awesome! Don't forget to also practice everything you're learning in the videos. :)
      - Kat

  • @yashmistry3098
    @yashmistry3098 Před 2 lety

    beginners. Thank you so much! x

  • @abhinavtiwari5533
    @abhinavtiwari5533 Před 4 lety +5

    from where we can get the images of apple donut and lemon? there is no link in description tho appreciate your work and thanks for the help

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +2

      Sorry about that! Here are all the resources:
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L02%2520Lesson%2520Assets.zip&redir_token=OusZa5Rlj8qosxZTHYwrI8SlSw58MTU4NDkyMTAwOEAxNTg0ODM0NjA4&event=video_description&v=rmTQcILJRcY
      czcams.com/users/redirect?v=MJP60XnN4us&event=video_description&redir_token=WAYn_gzVR9DkvnO-nB_POMY7VJV8MTU4NDkyMTA4OUAxNTg0ODM0Njg5&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L03%2520Activity%2520Assets.zip
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L04%2520Starter%2520Project.zip&v=wQLOWv8l7yI&event=video_description&redir_token=LokwxrZrkMlUj4Vfji_dWA8A4CJ8MTU4NDkyMTExNEAxNTg0ODM0NzE0
      czcams.com/users/redirect?redir_token=M_WpsanhBg_3FWOLzKMjiS_OrjB8MTU4NDkyMTE1M0AxNTg0ODM0NzUz&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L06%2520Lesson%2520Assets.zip&v=51Z9Kun7tFo&event=video_description
      - Kat

  • @MartinSolo_Music
    @MartinSolo_Music Před 4 lety +1

    Great video again 🙌🏼🙌🏼 What program are the graphics made in? Would love to see a small graphics for app tutorial maybe? 😁

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      We have a ton, you just have to search them here on CZcams.
      czcams.com/video/cU6T_0j2Pp4/video.html
      czcams.com/video/R5KoTZY0esk/video.html
      czcams.com/video/WhlNnf1711M/video.html
      czcams.com/video/c9URDK3KITM/video.html
      czcams.com/video/LE9EDFEKnwE/video.html
      - Kat

  • @thomascolverd5316
    @thomascolverd5316 Před 4 lety +1

    Hi Chris! I am building a quiz app, and need the button that is pressed to change colour (without the others changing colour)... please help! thanks

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, you can simply try adding event listeners to it and just modify the UIButton image or background color.
      if you are interested we also have a quiz app database module on our codewithchris+ program
      - Francis

  • @piyushsharma1638
    @piyushsharma1638 Před 4 lety +1

    Hey Chris really Helpful videos on SwiftUI, can you please explain in some videos how we can make adaptable size UI for different devices (i.e profile image for smaller/larger devices), And how we use multiplier constraints for views in swiftui.

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, the its already adaptable to the screen size though, especially if you provide the constraints for the UI element so it will just "auto layout" itself
      - Francis

  • @jamesmeldrum1981
    @jamesmeldrum1981 Před 2 lety

    Everything works, especially free, use until it is too late!

  • @isaiahyarborough626
    @isaiahyarborough626 Před 3 lety

    Well I new to your video and it’s been up for almost a year. I learn anytime that I can make free mostly late at night or the weekend.

    • @CodeWithChris
      @CodeWithChris  Před 3 lety

      Yes to flexible learning hours! Thanks for learning with us!

  • @shahil980
    @shahil980 Před rokem

    I will pray for you good thing Chris ❤

  • @arnavchauhan178
    @arnavchauhan178 Před 4 lety +1

    How can someone dislike this? That’s horrendous! Thanks Chris for such a good video!

  • @puntawatsubhamani6443
    @puntawatsubhamani6443 Před 4 lety +1

    SwiftUI Calculator App!!

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Nice suggestion! Add your tutorial requests here: cwc.to/request
      - Kat

  • @tiantianhuang5386
    @tiantianhuang5386 Před 4 lety +3

    Hi Chris that was a great video! just one thing can you send me the description to me plz? i can't find it.

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      It is right below the CodeWithChris name, there is already a small description and you can click the "Show More".
      EDIT: Ok, on mobile, it's a bit more hidden. You have to select the little triangle next to the video title.
      @AdrienVillez

  • @jdcrunchman999
    @jdcrunchman999 Před 4 lety +1

    I did not see what you did to "Build" mic.circle.fill.. Did you press a key? of so, what was it, did you press a button? If so where is it, is it in the App? I wasn't able to follow that part in the video, clarification is needed... THANX

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, "mic.circle.fill" is part of the built-in system icons on Apple / Xcode called SFSymbols
      developer.apple.com/design/human-interface-guidelines/sf-symbols/overview/
      - Francis

  • @jdcrunchman999
    @jdcrunchman999 Před 4 lety +1

    Where do you get the "Human Interface" guidelines? Is this something you pull in with a browser, if so, what is the link?

    • @jdcrunchman999
      @jdcrunchman999 Před 4 lety

      I just saw the part where you state this is a Mac OS App, would I look for it in the App store? Is there a cost involved?

    • @jdcrunchman999
      @jdcrunchman999 Před 4 lety

      Playing it at 1/4th the speed, I was able to follow your mouse, it just moved, but to no specific point, so am I to assume that once you entered it into the Code window, that this applies automatically? Is this APP somehow "hooked up" to your code window?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, a simple google search should give you a link to apple's official documenation about the "human interface guidelines", found here developer.apple.com/design/human-interface-guidelines/
      - Francis

  • @semilife
    @semilife Před 2 lety

    Great tutorial Chris, understanding much of it, so explanations are clear but not omitting the detail. Laughing at your comment 2:36:42...the loan sharks LOL. Keep up the great work.

    • @CodeWithChris
      @CodeWithChris  Před 2 lety

      Haha, thanks for watching! Happy that you're learning with us! -Arthur

  • @MM-wi5dn
    @MM-wi5dn Před 4 lety +1

    is this using Xcode version 11.4 (11E146)? the menus & screens do not align with my screens

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, yes its using the latest version of xcode, shouldn't be a problem though as everything should work the same
      - Francis

  • @randlyce
    @randlyce Před 4 lety +1

    Does any one know where the challenge folder is? I swear its not listed under the description or am i just clueless about this?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Here are all of the resources:
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L02%2520Lesson%2520Assets.zip&redir_token=OusZa5Rlj8qosxZTHYwrI8SlSw58MTU4NDkyMTAwOEAxNTg0ODM0NjA4&event=video_description&v=rmTQcILJRcY
      czcams.com/users/redirect?v=MJP60XnN4us&event=video_description&redir_token=WAYn_gzVR9DkvnO-nB_POMY7VJV8MTU4NDkyMTA4OUAxNTg0ODM0Njg5&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L03%2520Activity%2520Assets.zip
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L04%2520Starter%2520Project.zip&v=wQLOWv8l7yI&event=video_description&redir_token=LokwxrZrkMlUj4Vfji_dWA8A4CJ8MTU4NDkyMTExNEAxNTg0ODM0NzE0
      czcams.com/users/redirect?redir_token=M_WpsanhBg_3FWOLzKMjiS_OrjB8MTU4NDkyMTE1M0AxNTg0ODM0NzUz&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L06%2520Lesson%2520Assets.zip&v=51Z9Kun7tFo&event=video_description
      - Kat

  • @javimardeveloper
    @javimardeveloper Před 4 lety +1

    Hi Chris, thanks for all the good work you do, it's very encouraging. I am starting to learn iOS coming from Android and was wondering if there is something in SwiftUI similar to Android Pager and Tabs. I am not talking about TabView in iOS, but the paging of tabs, view pager, similar to how Android does it. How you considered making a SwiftUI tutorial about advanced navigation?
    Thanks a lot!!

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, not really familiar but maybe try to look into navigationlinks if it is similar?
      - Francis

  • @jdcrunchman999
    @jdcrunchman999 Před 4 lety +1

    At video position where you talk about red, green, blue, in your slider code you write: Slider(value: $red, in: 0...255 - etc), what does the $ mean? Is that part of Swift language, if so, what does it mean?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, maybe this article can help insights.dice.com/2019/06/12/xcode-swiftui-dollar-sign-prefix/#:~:text=A%20'%24'%20prefix%20is%20a,bread%20types%20it%20can%20access.&text=(And%20if%20you%20said%20%E2%80%9Cbrioche,server%20would%20let%20you%20know.
      - Francis

  • @kideatspaper3618
    @kideatspaper3618 Před 4 lety +1

    i wrote a code for time conversion that works in the playground, but as soon as i put it into content view it kinda all falls apart. i’m coming back here to review the basics. any tips for converting a project from the playground to swoftUI?

    • @kideatspaper3618
      @kideatspaper3618 Před 4 lety

      it works when it’s all above content view, i think i need to put it inside content view to make the time conversion happen live instead of just on launch, but inside content view i get a lot more errors and problems doing the same things than i do outside

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Hello, how about putting in inside a function, then just update the value by putting it in a @State
      - Francis

  • @yuming2494
    @yuming2494 Před 4 lety +1

    Thanks a lot !

  • @judy8821
    @judy8821 Před 4 lety +2

    Dear team members, I wonder if there would be a way to use a nested Foreach loop to create the grid of cards with random index without having to use the numbers array? I’m tempted to try it but am still a beginner and would probably mess it up. What are your thoughts?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, yes it is possible by putting an if inside the 2nd test to check availability, its not very efficient if you look at the number of times it makes a loop though but it should do the job
      - Francis

  • @gamex5789
    @gamex5789 Před 4 lety +1

    How can you save and load the credits when you close the app?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, there are multiple ways, easiest to set up and use would probably be UserDefaults
      - Francis

  • @alonstein4489
    @alonstein4489 Před 4 lety +1

    how do I plug in my iPhone and view my Xcode project on it?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Hello, just simply use the charger cord of your iphone and "trust" the computer so it will be detected, xcode will then automatically detect it and you can use it as a simulator
      - Francis

  • @patleo6493
    @patleo6493 Před 4 lety +3

    hey Chris, Love your video! I hesitated to ask this cause no one in the comment seems to be asking. But I just want to know where can I get the asset you mentioned on 23:00 ? (the donuts , lemon and apple images) They are not in the description. Thanks!

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Sorry about that! Here are all of the resources:
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L02%2520Lesson%2520Assets.zip&redir_token=OusZa5Rlj8qosxZTHYwrI8SlSw58MTU4NDkyMTAwOEAxNTg0ODM0NjA4&event=video_description&v=rmTQcILJRcY
      czcams.com/users/redirect?v=MJP60XnN4us&event=video_description&redir_token=WAYn_gzVR9DkvnO-nB_POMY7VJV8MTU4NDkyMTA4OUAxNTg0ODM0Njg5&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L03%2520Activity%2520Assets.zip
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L04%2520Starter%2520Project.zip&v=wQLOWv8l7yI&event=video_description&redir_token=LokwxrZrkMlUj4Vfji_dWA8A4CJ8MTU4NDkyMTExNEAxNTg0ODM0NzE0
      czcams.com/users/redirect?redir_token=M_WpsanhBg_3FWOLzKMjiS_OrjB8MTU4NDkyMTE1M0AxNTg0ODM0NzUz&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L06%2520Lesson%2520Assets.zip&v=51Z9Kun7tFo&event=video_description
      - Kat

  • @EthanZemelman
    @EthanZemelman Před 4 lety +1

    The SwiftUI slots app still works the same when the "symbol" property inside CardView.swift isn't binding. Why is that, and why did we choose to make it binding?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, to read more about binding check out the documentation here developer.apple.com/documentation/swiftui/binding
      - Francis

  • @mahmoudqandeel984
    @mahmoudqandeel984 Před 3 lety

    man we like a tutorials to learn ios development for beginner on the last version of xcode , pleas .

    • @CodeWithChris
      @CodeWithChris  Před 3 lety

      Yay, stay tuned! More tutorials to come! :-) -Arthur

  • @GabeColors
    @GabeColors Před 4 lety +3

    This is an amazing tutorial and I am super grateful for you and your teaching style. I'm at about 2:00 in and am very confused as a beginner why you use variables so similar just making plural- is this supposed to make it more clear? It just makes me more confused. Like "symbol" and "symbols" or "background" and "backgrounds". Can you help me understand what I am missing. Thank you!

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, i suggest you go over to the basics of swift first, dont worry they use the same library and concepts so you will better understand programing in swift
      here is the link to the full beginners playlist czcams.com/play/PLMRqhzcHGw1b89DXHOVA77ozWXWmuBkWX.html
      - Francis

  • @joshuasegal713
    @joshuasegal713 Před 4 lety +2

    I'm confused on the var body: some View syntax. Is body a function that you have to override Or is it a variable that you have to override.

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Hello, technically its a View that you have to override, think of it as an extension of the View
      - Francis

  • @nurlanakylbekov7266
    @nurlanakylbekov7266 Před 4 lety

    Last section with 9 fruits was crazy🤪. I also want to ask, why you don't use for loop instead of map? Thanks

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Hello, check out our article on sorted, map, flatmap, filter, and reduce. for intermidiate developers sometimes its easier to use map instead bit.ly/2xByWS4
      - Francis

  • @pjfrey5121
    @pjfrey5121 Před 4 lety +1

    Hey Chris,
    Thanks for the awesome videos! I know this is a long shot but could you possibly show how to keep buttons highlighted. (i.e. a user can select multiple options (buttons) and when selected the buttons become a darker color (light gray to gray) or vice versa. I have looked everywhere, google, CZcams, forums, etc. and have had no luck.
    Thanks
    Paul Frey

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, i think you should go about it on a different way instead of buttons. i suggest maybe checking this out stackoverflow.com/a/29117898
      - Francis

  • @nataliam341
    @nataliam341 Před 4 lety +2

    Hey. I cant find the resources specifically for the challenges including the avocado toast image and the pink building. Can anyone help me out?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Sorry about that! Here are all of the resources:
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L02%2520Lesson%2520Assets.zip&redir_token=OusZa5Rlj8qosxZTHYwrI8SlSw58MTU4NDkyMTAwOEAxNTg0ODM0NjA4&event=video_description&v=rmTQcILJRcY
      czcams.com/users/redirect?v=MJP60XnN4us&event=video_description&redir_token=WAYn_gzVR9DkvnO-nB_POMY7VJV8MTU4NDkyMTA4OUAxNTg0ODM0Njg5&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L03%2520Activity%2520Assets.zip
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L04%2520Starter%2520Project.zip&v=wQLOWv8l7yI&event=video_description&redir_token=LokwxrZrkMlUj4Vfji_dWA8A4CJ8MTU4NDkyMTExNEAxNTg0ODM0NzE0
      czcams.com/users/redirect?redir_token=M_WpsanhBg_3FWOLzKMjiS_OrjB8MTU4NDkyMTE1M0AxNTg0ODM0NzUz&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L06%2520Lesson%2520Assets.zip&v=51Z9Kun7tFo&event=video_description
      - Kat

    • @nataliam341
      @nataliam341 Před 4 lety

      @@CodeWithChris thanks

  • @mrravy8873
    @mrravy8873 Před 2 lety +1

    Will swiftUI replace UIkit in future? Can I just learn swiftUI without get to know UIkit ?

    • @CodeWithChris
      @CodeWithChris  Před 2 lety

      Hello, kindly post your question in our CodeCrew forum so that our technical support staff there can assist you. Go here: codecrew.codewithchris.com. Thanks for learning with us! -Arthur

  • @hectorvelazquez8636
    @hectorvelazquez8636 Před 2 lety +1

    I have a iMac way can I download swiftui app. pls post link

    • @CodeWithChris
      @CodeWithChris  Před 2 lety

      Download Xcode on the macOS App Store to get started with those videos. Also, all codes can be found on our GitHub, but I would recommend following the lessons here first! (github.com/codewithchris)
      @AdrienVillez

  • @lyovkn8445
    @lyovkn8445 Před 6 měsíci

    How can i add multiplyer to symbols itself, for example 3 apples x2, three stars x 5?

    • @CodeWithChris
      @CodeWithChris  Před 6 měsíci

      Hello, Thank you so much for taking the time to post your inquiry here!
      Unfortunately, we can't answer it for you in the comment section but you can try joining and posting in our community: cwc.to/codecrew
      --Joash

  • @sundararunachalam6728
    @sundararunachalam6728 Před 4 lety +2

    Chris when I updated my Xcode I lost all my projects

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, its probably still in your harddrive as Xcode doesn't save it on its own folder, try looking for it
      - Francis

  • @swiftcoding8944
    @swiftcoding8944 Před 4 lety

    this is really great

  • @tylershort3645
    @tylershort3645 Před 4 lety +1

    Hi, I've been watching your videos for some time and I have been trying to follow along but I am having some trouble finding the resources for this video. I know that in a few of the other videos the links were listed in the description.

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Sorry about that! Here are the resources:
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L02%2520Lesson%2520Assets.zip&redir_token=OusZa5Rlj8qosxZTHYwrI8SlSw58MTU4NDkyMTAwOEAxNTg0ODM0NjA4&event=video_description&v=rmTQcILJRcY
      czcams.com/users/redirect?v=MJP60XnN4us&event=video_description&redir_token=WAYn_gzVR9DkvnO-nB_POMY7VJV8MTU4NDkyMTA4OUAxNTg0ODM0Njg5&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L03%2520Activity%2520Assets.zip
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L04%2520Starter%2520Project.zip&v=wQLOWv8l7yI&event=video_description&redir_token=LokwxrZrkMlUj4Vfji_dWA8A4CJ8MTU4NDkyMTExNEAxNTg0ODM0NzE0
      czcams.com/users/redirect?redir_token=M_WpsanhBg_3FWOLzKMjiS_OrjB8MTU4NDkyMTE1M0AxNTg0ODM0NzUz&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L06%2520Lesson%2520Assets.zip&v=51Z9Kun7tFo&event=video_description
      - Kat

    • @tylershort3645
      @tylershort3645 Před 4 lety

      @@CodeWithChris Thank you very much!

  • @allurisirisha3940
    @allurisirisha3940 Před 2 lety

    Hai Chris…. Your videos are really good. Can you tell me that, In what situation we use classes and structures? Can you please answer….

    • @CodeWithChris
      @CodeWithChris  Před 2 lety

      Hello, kindly post your question on our CodeCrew forum so that our technical support staff can assist you. Go here: codecrew.codewithchris.com. :) -Arthur

  • @thecodinggrey3424
    @thecodinggrey3424 Před 4 lety +2

    I do not seem to find the link to the assets (png files)... somebody can assist?

    • @rkjd3zoo
      @rkjd3zoo Před 4 lety

      I can't find them either. Someone please help!

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Sorry about that! Here you go czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L02%2520Lesson%2520Assets.zip&redir_token=9coxd79c9ZhA__NCwARZX9aRnEx8MTU4NDMyNjAwMEAxNTg0MjM5NjAw&v=rmTQcILJRcY&event=video_description
      - Kat

    • @thecodinggrey3424
      @thecodinggrey3424 Před 4 lety

      @@CodeWithChris Thanks!

  • @Belizianboi13
    @Belizianboi13 Před 3 lety +1

    is this worth the watch with the new xcode 12 changes? New to swift UI

    • @CodeWithChris
      @CodeWithChris  Před 3 lety

      Yes, there are still some similarities. Have fun learning! -Arthur

  • @tal32123
    @tal32123 Před 4 lety +1

    Do we need to support two code sets now?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, for the future SwiftUI may be the way to go because it will also run no problem in phones as long as it is updated to iOS 13, if you want to support older os like 11 or 12 though then you will need to use storyboard for it
      - Francis

  • @swaraagsistla8641
    @swaraagsistla8641 Před 4 lety +1

    Hey CodeWithChris, love the video so far, I was wondering how you got that preview ViewController on the right side of your screen? I can't figure out how to do that.

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Hello, this only works in SwiftUI, do you have xcode 11 installed? and did you make you app in SwiftUI and not storyboard?, the preview should be there when making apps in SwiftUI
      - Francis

  • @Josh-tu9ji
    @Josh-tu9ji Před 4 lety +2

    You repeatedly mention the image assets to use, but I can't find them? Can you help me out?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety +1

      Sorry about that! Here are all of the resources:
      bit.ly/2AyuoOs
      bit.ly/31K9F5u
      bit.ly/3gtlSzB
      bit.ly/38qPdrl
      - Kat

  • @LookGame98
    @LookGame98 Před 4 lety +1

    hi, i am creating an application and i would like to change the back button between one page and another from blue to white as my background is blue ... how can i do? please help me I can't find a solution ... thanks a lot in advance

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, you might need to change the background by setting the background color of the new screen as well
      - Francis

    • @LookGame98
      @LookGame98 Před 4 lety

      @@CodeWithChris
      Ah ok I'll see if I can do it in the project, thanks for the answer ;)

  • @newbiegeek8407
    @newbiegeek8407 Před 4 lety +1

    i am not sure how to use swiftUI in xcode 12

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello. you just need to create a new project and make sure that it is SwiftUI instad of Storyboard
      - Francis

  • @user-hr3om7jy5o
    @user-hr3om7jy5o Před 4 lety +1

    Hey Chris! If you’re still responding to comments on this video I have a question. How would I make a button that when pressed puts a marker on a map of the current location of the user?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, on our CWC+ iOS Bento we have this exact tutorial, you can however try it out yourself, just search for MKPin/ MKAnnotation
      - Francis

  • @BandicootMax
    @BandicootMax Před 4 lety +1

    On 1.29.22 When you declare .background(.pink) I have an error: "Cannot infer contextual base in reference to member 'pink' " What the problem?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, it seems that it wasn't able to "detect" what .pink is, try tying the full UIColor for it
      or check your code you might have missed something
      - Francis

  • @mandardesai3841
    @mandardesai3841 Před 4 lety +1

    can swiftui adapt screen size automatically or we need to take care via code?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, yes it should automatically adapt to the screensize but it may also depend if you set some exact sizes for your dimensions
      - Francis

    • @mandardesai3841
      @mandardesai3841 Před 4 lety

      @@CodeWithChris Thanks for reply

  • @jdcrunchman999
    @jdcrunchman999 Před 4 lety +1

    When you export these symbols from this app, you said "save it somewhere". Do I save it in the Assets? You didn't specify where you save it to, and like I might have mentioned before, you stated you had to download this Symbols app, then I say you enter the name of this symbol into the code window, how does the code window know about this mic.circle.fill? And I noticed a "Build Successful" did you use the XCode Build menu, or does the code window somehow magically know you wanted to build the minute you entered the CR after changing the source code. THIS WAS NOT MADE CLEAR, can you clarify this please.

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, you can download the SF Symbols app so you can easily search the available SF Symbols provided by apple. however, there is no need to import anything because it is already part of your app (if it is ios 13 and above)
      - Francis

  • @LucentPeach3
    @LucentPeach3 Před 4 lety +1

    Love the tutorial!
    I have a question though... What are the pros and cons of using the map function versus a for-loop? I am used to C and C++ programming so for-looping the backgrounds and the randomization of the values seem like a cheaper way of doing things comparatively. Or am I wrong in my assumption?

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Hello, check out our article on loops codewithchris.com/swift-loops/
      then read our article (to be published) article on map bit.ly/2xByWS4
      - Francis

  • @citycomputers1015
    @citycomputers1015 Před 2 lety

    how do you make it so that when you have multiple softs in your soft roll; you arent interfereing with another soft like accidentally

    • @CodeWithChris
      @CodeWithChris  Před 2 lety

      Hey there. Do you mind sharing this to our CodeCrew forum so that our members can help you? You can visit this link: codecrew.codewithchris.com - Pat

  • @ionutandreiparaschiv
    @ionutandreiparaschiv Před 2 lety

    I'm a morning brainer' too, it's easier to be focused in the morning.

  • @tobifi6831
    @tobifi6831 Před rokem

    52:15 please tell me where I can find the solution (Ava Cado challenge) - it's not included in the dropbox folder. Very nice video - thank you and best regards!

  • @zeus675
    @zeus675 Před rokem

    thanks

  • @lbroth1084
    @lbroth1084 Před 4 lety +1

    Sorry to bug you but where are the graphics for the Slot Demo? All I can find is one listed below that gives you a folder named Assets and it has the apple, donut and lemon png files.

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Sorry about that! Here are all of the resources:
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L02%2520Lesson%2520Assets.zip&redir_token=OusZa5Rlj8qosxZTHYwrI8SlSw58MTU4NDkyMTAwOEAxNTg0ODM0NjA4&event=video_description&v=rmTQcILJRcY
      czcams.com/users/redirect?v=MJP60XnN4us&event=video_description&redir_token=WAYn_gzVR9DkvnO-nB_POMY7VJV8MTU4NDkyMTA4OUAxNTg0ODM0Njg5&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L03%2520Activity%2520Assets.zip
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L04%2520Starter%2520Project.zip&v=wQLOWv8l7yI&event=video_description&redir_token=LokwxrZrkMlUj4Vfji_dWA8A4CJ8MTU4NDkyMTExNEAxNTg0ODM0NzE0
      czcams.com/users/redirect?redir_token=M_WpsanhBg_3FWOLzKMjiS_OrjB8MTU4NDkyMTE1M0AxNTg0ODM0NzUz&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L06%2520Lesson%2520Assets.zip&v=51Z9Kun7tFo&event=video_description
      - Kat

  • @hajjdawood
    @hajjdawood Před 3 lety

    At 2:08:00 Why do you use an array instead of using a single state @State private var bicolor = Color.white so all you would have to do for a win is bgColor = Color.green and for a loss bicolor = Color.white.
    Edit: The problem with my proposed solution is that for the later challenge (which I hadn't seen yet) the whole thing will light up green instead of just the row.

    • @CodeWithChris
      @CodeWithChris  Před 3 lety

      "Hello, yes this would probably be fine if you only want to make everything turn green or white, for more specific rows its better go to with the old fashion ""flags""
      - Francis"

  • @shulkforlife2683
    @shulkforlife2683 Před 4 lety +2

    Where is view controller.swift

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      To fix this, choose Storyboard as the User Interface instead of SwiftUI and it will show the view controller.swift. Watch this czcams.com/video/ea9fCSXGhSU/video.html
      - Kat

  • @ianzhang2991
    @ianzhang2991 Před 4 lety +2

    Where are the apple, donut, and lemon images? I don't see them in the description

    • @ianzhang2991
      @ianzhang2991 Před 4 lety

      @Magali Thanks

    • @CodeWithChris
      @CodeWithChris  Před 4 lety

      Here are all of the resources:
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L02%2520Lesson%2520Assets.zip&redir_token=OusZa5Rlj8qosxZTHYwrI8SlSw58MTU4NDkyMTAwOEAxNTg0ODM0NjA4&event=video_description&v=rmTQcILJRcY
      czcams.com/users/redirect?v=MJP60XnN4us&event=video_description&redir_token=WAYn_gzVR9DkvnO-nB_POMY7VJV8MTU4NDkyMTA4OUAxNTg0ODM0Njg5&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L03%2520Activity%2520Assets.zip
      czcams.com/users/redirect?q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L04%2520Starter%2520Project.zip&v=wQLOWv8l7yI&event=video_description&redir_token=LokwxrZrkMlUj4Vfji_dWA8A4CJ8MTU4NDkyMTExNEAxNTg0ODM0NzE0
      czcams.com/users/redirect?redir_token=M_WpsanhBg_3FWOLzKMjiS_OrjB8MTU4NDkyMTE1M0AxNTg0ODM0NzUz&q=https%3A%2F%2Fcodewithchris.com%2Fcode%2FSwiftUI%2520M1L06%2520Lesson%2520Assets.zip&v=51Z9Kun7tFo&event=video_description
      - Kat