SwiftUI Basics Tutorial

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024

Комментарии • 474

  • @seanallen
    @seanallen  4 года назад +36

    If you've enjoyed this and want to learn more, here's a 15% off promo code for the full course:
    Use code YT-FREE-PREVIEW at checkout - seanallen.teachable.com/p/swiftui-fundamentals

    • @Jeckyl72
      @Jeckyl72 4 года назад +1

      Hi Sean, I am a beginner in swift learning since 1/2 year on multiple Platforms . Keep up the good work . I love your channel . You definitely know how to teach swift . 👍

    • @hoshyarkarimi
      @hoshyarkarimi 4 года назад +1

      Can you please accept gift cards like Mint for countries like Iran which isn't connected to international banking system?

    • @iKh4ever
      @iKh4ever 2 года назад

      Thanks brother for really nice videos.

    • @robbrooks5263
      @robbrooks5263 2 года назад

      I really enjoyed this introduction.
      Your teaching style really clicks with me.
      So I bought the course.
      I couldn't see anywhere to input the promo code though.
      Maybe that needs a tutorial too? ;)

    • @seanallen
      @seanallen  2 года назад

      Glad you enjoyed it, Rob. There should be a spot at checkout to enter a code. I can refund you the 15%. Hope you enjoy the course!

  • @creatorshorizon5125
    @creatorshorizon5125 3 года назад +1

    "its nothing in detail, just for you to see how its done fast".
    - explains everything in detail. - you are awesome dude

  • @aelhkmm6009
    @aelhkmm6009 4 года назад +104

    You explain the logic behind the code and this is something I find worth respecting. Thank you.

    • @seanallen
      @seanallen  4 года назад +28

      I remember what it was like learning to code from online videos, so I try to do my best to keep that in mind when creating my videos.

  • @BasedGob
    @BasedGob 3 года назад +23

    Perfect video for someone like myself who has a good amount of experience in Android and web and is just looking for a quick overview of how the syntax / code organization works on iOS. Went over all the basics very nicely without spending too much time over-explaining things (a common problem in many tutorials). Amazing work!

    • @THE_ONLY_GOD
      @THE_ONLY_GOD 2 года назад

      Better to not do Apple platform software engineering until tim cook is replaced by somebody WAAAAAAY better at making sure the tools are practical and not simply a PHD circlejerk

  • @universitythings2147
    @universitythings2147 2 года назад +16

    I'm a professional Ios developer. But when I required to learn something new in swift ui, Ui kit or programming logic I directly search for seanallen I love the way you explain. Love from India.

    • @seanallen
      @seanallen  2 года назад +1

      Thanks for the kind words 😀

  • @MarcoCarmonaT
    @MarcoCarmonaT 4 года назад +45

    Great! Now I know what I'll be doing this weekend.

    • @seanallen
      @seanallen  4 года назад +5

      Sounds like a great weekend to me.

    • @aslipperysnake
      @aslipperysnake 4 года назад

      exactly what I thought

    • @codelightsparkles2403
      @codelightsparkles2403 3 года назад

      @@seanallen Hello, I am a web developer, How exactly do you fetch data from an Api ? so you can make the content dynamic.

  • @indiekiduk
    @indiekiduk 3 года назад +3

    I noticed a big mistake at 1:16 The point of Binding is to allow a sub-view to change the data. Since your BackgroundView doesn't change the value of isNight so it should just be declared as a let. When isNight state is changed the ContentView body is run, BackgroundView is recreated and if the value of isNight is different from the last time then its body is run. If ContentView's body was run for a different state change and the same value of isNight is used to create BackgroundView then its body is not run.

  • @Vet2Dev
    @Vet2Dev 3 года назад +11

    I've dabbled in many tutorials, and this is by far one of the best. I like how you lay your objectives out. Thank you for sharing, and I will look into your book as well. The problem with most tutorials or even sets of tutorials, at-least from my perspective, is that they rely heavily on one's inference but there's less to infer when you have a beginner's mind set. Anyway, great job man, I look forward to building my skill set from your channel.

    • @seanallen
      @seanallen  3 года назад

      Thanks for the kind words, JB. Glad you enjoyed my teaching and presentation style. 😀

  • @noquarter1983
    @noquarter1983 3 года назад +17

    Dude, you are awesome. Your video was super easy to follow. It was paced perfectly. You explained stuff in a very human way. Keep it up! Oh, and I subbed.

    • @seanallen
      @seanallen  3 года назад

      Thanks for the kind words, Adam. Happy to hear you enjoyed it, and I appreciate the support!

  • @josstaneke5300
    @josstaneke5300 3 года назад +2

    I really like the way you explain your tutorials. I made apps for the App Store myself (in the days with objective c) , but still struggling with the new SwiftUI data passing. Declarative programming is new to me. Your video makes sense and I am looking forward to see more of them.

    • @seanallen
      @seanallen  3 года назад

      Glad it was helpful!

  • @prachibile2798
    @prachibile2798 3 года назад +1

    I am really a fan of yours. When I think of learning any new stuff in iOS, first search it in your channel. Thanks for the great videos.

    • @seanallen
      @seanallen  3 года назад

      Happy to hear you enjoy the channel, Prachi 😀

  • @davidhughes9320
    @davidhughes9320 4 года назад +16

    Looks like a great introduction to SwiftUI and well explained. A couple of points.
    First, when it comes to UI elements I tend to stay away from using frames (apart from elements like .frame(maxWidth: .infinity)), like in the button you set a concrete width and height, which looks fine now but when the user starts changing their text size then I find it better to use padding instead, that way the Button will resize accordingly regardless of text size.
    Around 1:15:00 where you add @Binding, is that required? From what I understand, you can just pass in a Bool. When you add a $ in front that refers to a two-way binding, i.e. something the user is changing on the screen, such as a TextField. When the isNight State is toggled the BackgroundView should be recreated with the new value of isNight.

    • @seanallen
      @seanallen  4 года назад +5

      Hey David, you are correct about Binding not being required in this case. This was an oversight on my part. I'm working up an addendum video for the actual course that highlights and explains this. Thanks for pointing it out!

    • @twist5561
      @twist5561 2 года назад

      Thank you for this comment! I was actually thinking the same about the @Binding variable...

  • @jamesvanderbilt201
    @jamesvanderbilt201 Год назад

    this was the best “beginner” tutorial for any programming language i’ve ever seen. Thank you so much, you helped a ton!

  • @Yassinebridii
    @Yassinebridii 3 года назад +4

    This is really good, I'm coming from a Typescript/React background, and everything is making sense, I think I'm starting to like this language.
    Your teaching is top-notch.

    • @seanallen
      @seanallen  3 года назад +1

      Thanks Yassine. Glad you enjoyed it 😀

    • @AdamKrukowski
      @AdamKrukowski 3 года назад

      same here!

  • @maheshj01
    @maheshj01 3 года назад +3

    Awesome I wrote my first ios App using SwiftUi,in just 2 hours
    An additional tip I would recommend to put the HStack in ScrollView if you have 7days in a week just like me, so as to have more room to the HStack elements.
    Thanks, Sean Allen looking up to your future videos to level up the swiftui game

    • @seanallen
      @seanallen  3 года назад

      Glad you found the video helpful, Mahesh!

  • @paulbrymer
    @paulbrymer Год назад +2

    best SwiftUI walkthroughs hands down. thank u

  • @abs80900
    @abs80900 3 года назад +11

    I find Sean's way of teaching and explanation is really easy to follow especially since I'm a visual learner as well. I've been following Sean's content in RUclips, Twitter and podcast so I enrolled in this course because I know this course will be a good starting point for me to learn SwiftUI. THANK YOU SO MUCH FOR MAKING IT EASY FOR EVERYONE TO LEAR iOS DEVELOPMENT!!

    • @seanallen
      @seanallen  3 года назад +1

      Glad you enjoy my teaching style, Abdulaziz! Hope you enjoy the course 🚀

    • @boebra2276
      @boebra2276 3 года назад +1

      والله انك صادق ياعزوز
      تابعت كذا واحد عاليوتيوب شرحهم كويس بس هالادمي شون* شرحه بطل ويخليك تركز معاه غصب ويمر الوقت بدون ماتحس 👌👍

  • @AliMoeeny
    @AliMoeeny 4 года назад +1

    dude this is an amazing course, I am a very experienced UIKit dev, but have not been keeping up with SwiftUI, have been enjoying this video a lot, exactly what I needed.
    Thank you.

    • @seanallen
      @seanallen  4 года назад +1

      Glad you are enjoying the video, Ali. Hope you enjoy the full course!

    • @AliMoeeny
      @AliMoeeny 4 года назад

      @@seanallen yeah actually I am watching the full course, fantastic job.
      one very minor feedback, if the video player remembers my resolution / quality preferences between chapters that would be more convenient :) not a big deal though, we are so used to RUclips shortcuts and video player features that we expect them everywhere.
      Thanks a gain for the great course

    • @seanallen
      @seanallen  4 года назад +1

      Happy to hear that. Unfortunately, I don't have control over the tech as I'm using a platform called Teachable.

  • @duaneadamx
    @duaneadamx 2 года назад +1

    This tutorial is the best one I watched so far. As someone from web development background, this tutorial feels more "at home", this made me see the similarities of SwiftUI & web development. I can link them together to form a better understanding.Thank you!

    • @seanallen
      @seanallen  2 года назад +1

      Glad you found it helpful, Duane! Got a bunch of SwiftUI stuff on my channel if you wanna check it out 👍

  • @RunOs3
    @RunOs3 10 месяцев назад +1

    Sean Allen and his content are what make the internet great.

  • @andrevdw747
    @andrevdw747 3 года назад +3

    Hey Sean, watched a lot of tutorials on your channel. Want to thank you for the clear and relax way of teaching! Everytime learning something new. 👍🏻👍🏻👍🏻

    • @seanallen
      @seanallen  3 года назад

      Happy to help, Andrew!

  • @mamayiwe
    @mamayiwe 3 года назад +1

    Didn't know where to start learning Swift and this is the intro I have been looking for. New subscriber!

    • @seanallen
      @seanallen  3 года назад

      Happy to hear it. Hope you enjoy the channel!

  • @christoskatsenos13
    @christoskatsenos13 3 года назад +1

    Great video! I used to create ios apps several years ago but have stopped. Your video is an inspiration that make me want to start again.

  • @upcomings100
    @upcomings100 Год назад +2

    holy I just found out that you made a whole playlist of videos on swiftui. ily bro

    • @seanallen
      @seanallen  Год назад

      Hope you enjoy them! There’s quite a few.

  • @lucasdebritoarruda7831
    @lucasdebritoarruda7831 4 года назад +3

    Hi Sean.
    Man you did a really good job in this video.
    Thank you very much.
    Greetings from a brazilian iOS developer who(until this video) was still fighting against constraints.

  • @davidandreasson1434
    @davidandreasson1434 3 года назад +1

    This Sean, this might be your best video so far, keep up the good work!!!!

  • @zozyyosef82
    @zozyyosef82 3 года назад +3

    worked with differents amazing programming languages, but in final the Swift is the king.

  • @hawaijarmayengbam4451
    @hawaijarmayengbam4451 3 года назад

    I just blown away by the quality and clarity of this course. Thanks Sean, you're one of my favourites!!! 👏👏👏

  • @vicoseemann
    @vicoseemann 4 года назад +5

    Really like the tutorial! Especially the speed that you're moving forward and introducing new concepts! Can’t wait for the next tutorial.

    • @seanallen
      @seanallen  4 года назад

      Glad you enjoyed it, Vico!

  • @MarcusGrey
    @MarcusGrey 3 года назад +4

    This was AMAZING. Thank you so much. As someone with adhd .. u really kept my attention and I was able to absorb a lot. (Talking fast helps some adhd folk)

    • @seanallen
      @seanallen  3 года назад

      Happy to hear you enjoyed my teaching style, Marcus!

    • @ricardo.mazeto
      @ricardo.mazeto 3 года назад +1

      I was about to make the same comment. 😂 I also have ADHD, and I watched the whole video without being distracted! 😅

  • @edgargranados-perez9889
    @edgargranados-perez9889 3 года назад +1

    bro how in the world are you not big yet. incredible series! learned sm!!

    • @seanallen
      @seanallen  3 года назад

      Haha, thanks for the king words. Maybe I'll get there someday. Glad you enjoyed!

  • @CmAektP2jxrGAb7
    @CmAektP2jxrGAb7 2 года назад

    One of the best tutorial on RUclips. No fuss, straight to the point and explained the logic.

  • @vbtcoach
    @vbtcoach 2 года назад +1

    Outstanding video, as an ab solute ground zero, no dev skills beginner this is the best explainer I've seen, thank you!

    • @seanallen
      @seanallen  2 года назад +1

      Glad you enjoyed it! Feel free to check out the rest of the channel. Got a lot of stuff on there :)

  • @elijahsalvator
    @elijahsalvator Год назад

    I just watched 30 minutes of this video and I didn't even realize. I appreciate your hard work in this video; explained very well and the pace is also amazing!

  • @tiojoe_
    @tiojoe_ 3 года назад +5

    Thank you for the great lesson. I like how consistent you're in your art. Cheers!

    • @seanallen
      @seanallen  3 года назад +1

      I appreciate the kind words 😀

  • @noamblend6243
    @noamblend6243 3 года назад +3

    this is amazing, thank you so much. I was about to do GUI in C++ but this is so much better, and through my knowledge of C++ it was really easy as well, hope you make more of these

    • @seanallen
      @seanallen  3 года назад +1

      Glad you enjoyed it!

    • @noamblend6243
      @noamblend6243 3 года назад

      @@seanallen if this is like the course then sign me up

    • @seanallen
      @seanallen  3 года назад +1

      Well, this is the exact first 8 videos of the course. I put them on RUclips as a free preview. So, yup. this is exactly what the course is like 😀

  • @christiansimbarashe
    @christiansimbarashe 3 года назад +1

    This is a wonderful tutorial. As someone who has the basics of Swift down, this tutorial was easy to follow, with clear and concise explanations. Sean makes learning fun. I daresay he is the best Swift teacher on the internet right now

    • @seanallen
      @seanallen  3 года назад

      I appreciate the kind words, Christian 😀

  • @martinmaulhardt9852
    @martinmaulhardt9852 3 года назад +1

    Thank You Sean! You are a Genious both at explaining and at programming. Cheers from Argentina!

  • @Loerarie
    @Loerarie 3 года назад +3

    Hello Sean,
    I understand you want to show a @Binding example but is there an advantage on using the binding?
    In this case you could as well call BackgroundView(isNight: isNight) and no binding inside struct BackgroundView

    • @seanallen
      @seanallen  3 года назад +2

      Hey Arie, you are correct and this was a slight oversight on my part. Because we are NOT changing the value of isNight in the backgroundView is does not need to be @Binding and you can write it like your example.
      However, if we did have the ability to change the isNight Boolean within the backgroundView, then it would need to be @Binding so the UI can update.

    • @nitinchadha16
      @nitinchadha16 3 года назад +1

      @@seanallen Your comment clear lot of doubts of mine, i was also stumbled on same thing, it was working fine for me too without @Binding. Thanks for clearing this thing.

  • @MarcoCarmonaT
    @MarcoCarmonaT 4 года назад +2

    Just finished this video. The tutorial was very clear, concise and easy to follow. I liked it a lot, thank you!

  • @TylerDebnam
    @TylerDebnam 2 года назад +1

    AMAZING DUDE. Thank you. I'm new to this, so it took me 3 hours to watch and follow along. Thank you for creating such an information dense presentation. You've earned my subscription 100 times over!

    • @seanallen
      @seanallen  2 года назад

      Happy to have ya, Tyler! Glad you enjoyed the video.

  • @joyceben2201
    @joyceben2201 2 месяца назад

    thank you so much for making the full course free!!! they're super helpful, endless gratitude

  • @Randuski
    @Randuski 2 года назад

    Have to say, I'm just getting into code, and iOS development. Tried a few courses, and they were solid for sure. But following along with this video pretty much seals it for me. You don't just say "type this, do this, there ya go". You talk about why things are what they are. I've done a bunch of the thing a in this vid already. But you're teaching me what exactly they are, and why I'm doing them. Thank you. Subbed. You're my new go to boy 🙌🏻 #1 best boy. America's sweet boy.

  • @ff2x701
    @ff2x701 2 года назад

    You have been helping me with iOS for years, thank you Sean!

  • @dr99tm23
    @dr99tm23 3 года назад

    The best SwiftUI intro tutorial ever, thanks.

  • @mcshin72
    @mcshin72 2 года назад +1

    Your English is very clear to understand as non native listener. Superve lecture. Thank you.

    • @seanallen
      @seanallen  2 года назад

      Glad you enjoyed it, Shin!

  • @evgenykravtsov2157
    @evgenykravtsov2157 3 года назад

    Man, you make me fall in love with SwiftUI… this is soooo inspire me… thank you….

  • @irfandiodaffa1308
    @irfandiodaffa1308 3 года назад +2

    Hi Sir, Thank you for the courses, I am new with Swift especially SwiftUI and this really helps me to go through

  • @semilife
    @semilife 3 года назад

    A great explanation of extracted subviews as well as a how binding state variables operate. I finally have a pretty solid grounding of SwiftUI, reusable subviews and binding. A true iOS advocate.

  • @rohwerkevin9967
    @rohwerkevin9967 2 года назад +4

    Beautifully and well designed tutorial. Nice to watch and easy to understand. I love how you explain, I had some experience on Java and PHP but wanted to develop an app with swift and this is awesome to get a grasp of this awesome language and to refresh my knowledge.Thank you

  • @denniszhaunerchyk6191
    @denniszhaunerchyk6191 4 года назад +3

    Thank you Sean for the great basics lesson. I like how consistent you're in your art. Greetings from Connecticut!

    • @seanallen
      @seanallen  4 года назад

      Thanks for the kind words, Denis!

    • @denniszhaunerchyk6191
      @denniszhaunerchyk6191 4 года назад +1

      @@seanallen I'm Magento/Netsuite software developer in one of the apparel distributors here in Connecticut. Was excited to hear your story. Let me know if you'll need any help!

  • @balogunakanbi6329
    @balogunakanbi6329 3 года назад +1

    I'm a React Native dev and this feels so familiar. Love the video, very straightforward.

  • @0x29aNull
    @0x29aNull 3 года назад

    I appreciate your quickness in going over things, I hate when instructors give deeper explanation to bullshit that don’t matter

  • @vinusubhash9106
    @vinusubhash9106 3 года назад +1

    KIS - Keep It Simple. Sean you are good at it.

  • @roneygbs
    @roneygbs 4 года назад +2

    I follow your channel since a long time ago and I’ve learned A LOT from you during this time. I really want to buy the course to support you. I will just wait a couple of months for the US dollar exchange rate to get better (right now 6 to 1 😰).
    Ps.: Please don’t stop with Swift News again! It is the only good thing that happens on Mondays!

    • @seanallen
      @seanallen  4 года назад

      Happy to hear the channel has been helpful, Roney.

  • @swiftlandacademy3193
    @swiftlandacademy3193 4 года назад +1

    Awesome content as always. I had no idea how SwiftUI works but now with this great introduction, I can move on. Many tks @Sean.

    • @seanallen
      @seanallen  4 года назад

      Happy to help, Alan 😀

  • @petarBusiness
    @petarBusiness Год назад

    Amazing video Sean. When you are going fast, you remind me of Paul Hudson, which is amazing

  • @robertlindemann150
    @robertlindemann150 Год назад

    This guy has excellent coding skills, he does things right, very impressed

  • @codesnacksIO
    @codesnacksIO 3 года назад +1

    Coming from flutter, this is a superb introduction to understand how things go about in swift UI. Pretty similar in terms of declarative UI. Awesome video, keep going!

    • @noquarter1983
      @noquarter1983 3 года назад

      I felt the same way. I kind of felt like this was a cleaner more organized version of flutter.

  • @GG-hk5iz
    @GG-hk5iz 4 года назад

    Sean you are absolutely true. I too felt comfortable building the UI but was really scratching my head when passing the data

  • @ethanfranson2
    @ethanfranson2 Год назад

    Thanks for this Sean this really was a fun project to learn swiftUI! I am trying to learn swiftUi for vision os coming up. Thanks for making this very beginner friendly.

  • @adriangutierrez9812
    @adriangutierrez9812 Год назад +1

    Hi @SeanAllen. I'm a huge fan. Teaching is a niche skill and you definitely have it. I wanted to ask, do you have any watch courses? WatchOS is really growing and I find it very hard to courses for it. As of right now, I am struggling to figure out how to play a podcast on Apple Watch from an mp3 file located in a web api. (As in, not one that exists in Apple Podcasts) I say that to give you an example of a video I would like to see but generally speaking, it would be great if you had any videos covering any topics in watchOS/watchKit. Anyways, thanks again and I look forward to see what more you have to come!

    • @seanallen
      @seanallen  Год назад

      Glad you liked it! Unfortunately I don't have any watch courses. I've actually never written a single line of code for a watch app.

  • @shooter0404
    @shooter0404 3 года назад

    This is definitely one of the better tutorials out there in terms of striking balance between depth and beginner friendliness

  • @yolioms
    @yolioms 2 года назад

    Hey Sean, watching your tutorial answered some nagging questions I have had for a while now so thank you for taking the time to put your know-how out there for us mortal humans. I am now going to look deeper into your tutorials- you rock-cheers💥

  • @AlmostRipeOrange
    @AlmostRipeOrange Год назад +1

    First video that goes straight to the point!

  • @eltonjhony9064
    @eltonjhony9064 3 года назад +1

    Congrats buddy! It's not easy to go through all the content with so much focus on it. Keep it up 👍

  • @shankn-js7ng
    @shankn-js7ng 8 месяцев назад +1

    Thank you sir for investing your valuable time and work. This is the best tutorial I had. Now I am confident and feeling motivated.

    • @seanallen
      @seanallen  8 месяцев назад

      Happy to help!

  • @akshaycrasta
    @akshaycrasta 2 года назад +1

    Thanks a lot Sean for the beautiful explanation, it was great intro for me in SwiftUI!

    • @seanallen
      @seanallen  2 года назад

      Glad you enjoyed it, Akshay!

  • @marcofuentes6199
    @marcofuentes6199 3 года назад

    It is extremely satisfying to see and hear your explanation. Thank you for sharing.

  • @MarkGingrass
    @MarkGingrass 2 года назад +1

    Great video, so far. Quick question I am hoping someone can answer for me. I'm on Version 14.1 of XCode and when I highlight the code like you do, I don't get the red box around my preview simulation. It seems super useful. Is there a setting I am missing?
    And... back to the video.

    • @michaelkillebrew3114
      @michaelkillebrew3114 2 года назад

      I'm having the same issue. I wonder if it pertains to the current version we are using. Or we are doing something incorrectly.

  • @christianburrus
    @christianburrus 3 года назад +2

    Amazing video. One things that would help is if you could increase the resolution on the screen. It's sometimes tough to determine if something is a comma or period. Besides that I really appreciate you putting these together. Will for sure be buying your full course.

    • @seanallen
      @seanallen  3 года назад +1

      Thanks for the feedback, Christian. I try to increase my text size in my videos, but sometimes what looks like huge text to me while filming, doesn't translate to the video. Glad you enjoyed it tho!

  • @VincentGroenewold
    @VincentGroenewold 4 года назад +3

    Wow, a free appetizer, very nice. Thanks Sean!

  • @ali-dp7wr
    @ali-dp7wr Год назад +1

    Thanks for teaching us. You are a very good teacher. ❤🙏

  • @hmbgamesandgains
    @hmbgamesandgains 3 года назад +1

    Sean,
    Thank you for taking the time to make these tutorial videos. As somebody who isn't new to programming but new to SwiftUI, I can say you are making this very easy to follow. The layout of this video and your others makes perfect sense to me and I am always finding myself coming back to rewatch your videos if I get confused about something. Thanks again.

    • @seanallen
      @seanallen  3 года назад

      Thanks for the kind words. Happy to hear you enjoyed the intro to SwiftUI.

  • @THE_ONLY_GOD
    @THE_ONLY_GOD 2 года назад

    Nice tutorial, by the way. Organized into chapters. What video is most recommended as the best general overview of all common property wrappers and proper ways of passing data around?

  • @bryuanmathis4930
    @bryuanmathis4930 3 года назад

    Thanks so much! I've learned more in this one video than I did 3 weeks taking another course

    • @seanallen
      @seanallen  3 года назад

      Just imagine what the rest of my course is like 😉

  • @noramanga
    @noramanga 4 года назад +1

    Great start to SwiftUI for me with this video ! Thanks a lot !

    • @seanallen
      @seanallen  4 года назад

      Happy to help, Boris!

  • @effeKtSVK
    @effeKtSVK 3 года назад +2

    Thanks, this was very helpful. I'm a React Native developer and it's interesting to see the differences between React and SwiftUI.

    • @seanallen
      @seanallen  3 года назад +1

      Happy to help, Erik. If you are coming from React Native, I believe SwiftUI will be familiar enough to pick up quickly.

  • @joaobonsegno
    @joaobonsegno 2 года назад +1

    About State and Binding: can't you just pass a state via params to a child View, without binding it? I come from React, where if a state changes, it will rerender the component, which will also rerender the children in it and pass the new value of the state to the children, if they receive it via props. Can't the same be done in Swift?

  • @scottatkinson6339
    @scottatkinson6339 3 года назад +1

    Awesome introduction, will be sure to purchase your course!
    Question within your course do you cover MVVM?

    • @seanallen
      @seanallen  3 года назад +1

      Thanks Scott! Yes, we cover MVVM in the last app in the course.

  • @RetselcElbanoser
    @RetselcElbanoser Год назад +1

    I'm a beginner and I follow to the end of this video and I made it,,ahahahah,,,,I even change the text of the button to "Change to Day" and "Change to Night". Thank very much for this. New subscriber here! God bless!

    • @seanallen
      @seanallen  Год назад +1

      Great job! Best of luck on your SwiftUI journey!

  • @girithangelapally6149
    @girithangelapally6149 2 года назад +1

    WOW...JUST WOW.......I MEAN WOW......Sean Allen you desrved the all subscribers...likes and shares love to watch more...i just subscribed for ever...

    • @seanallen
      @seanallen  2 года назад

      😀 - Glad you enjoyed the video that much, Giri!

  • @tunisiasparx2105
    @tunisiasparx2105 4 года назад +2

    Swift just started on windows 10 . Can you make some reviews about it and how much can we achieve with it using visual studio
    ?

  • @miniflipper4836
    @miniflipper4836 4 года назад +1

    Love your teaching style! Why not to use .scaledToFit() instead of .aspectRatio(
    contentMode:.fit) ? I think first one is easier to read.

    • @seanallen
      @seanallen  4 года назад

      I agree with you, .scaledToFit() is more readable and they do the same thing.

  • @boscodomingo
    @boscodomingo 3 года назад +1

    How do you do those cool animations with the 3D iPhone and the app running? I'd love to use that to present new features in my company demos!!

  • @PityuMotoRider
    @PityuMotoRider 3 года назад +1

    Best tutorial I found on RUclips!

    • @seanallen
      @seanallen  3 года назад

      Wow, thanks! Glad you found it helpful!

  • @zook2036
    @zook2036 Год назад

    crazy that you say "maybe they're on SF Symbols 3 by the time you watch this" and they're on 5 now lol
    super helpful video!! I thought Xcode was daunting at first but SwiftUI is so convenient!

    • @seanallen
      @seanallen  Год назад

      haha, time flies. Glad you enjoyed the video!

  • @javiergonzalezchamero429
    @javiergonzalezchamero429 3 года назад +1

    Such an inspirational man. Keep grinding, I hope good things come to you. Amazing course

    • @seanallen
      @seanallen  3 года назад

      Thanks for the kind words, Javier!

  • @brahimelmssilha7234
    @brahimelmssilha7234 3 года назад +13

    I really like how answer my questions without me asking them. thanks

    • @seanallen
      @seanallen  3 года назад +1

      Happy to help, Brahim.

  • @lavanyaraman7999
    @lavanyaraman7999 2 года назад +2

    Great start for beginners

    • @seanallen
      @seanallen  2 года назад

      Glad you enjoyed it, Lavanya!

  • @Al-Mizal
    @Al-Mizal 3 года назад

    Love this videos. Super engaging and explanatory. Please keep it up. Got yourself another
    subscriber.

  • @KanePat
    @KanePat 3 года назад +1

    Thanks Sean, great lessons! I look forward to using what I learned.

  • @vasudevansugumar1299
    @vasudevansugumar1299 3 года назад +1

    Really enjoyed learning and very engaging, best course I had, thanks

    • @seanallen
      @seanallen  3 года назад

      Glad you enjoyed it, Vasudevan 👍

  • @andynguyen5434
    @andynguyen5434 3 года назад

    Thank you for making this video. I’ve learned so much and am excited to build my UI.

  • @ilbey
    @ilbey 2 года назад +1

    underrated. thanks a lot mister!

  • @danielkwood
    @danielkwood 3 года назад

    Hi, thanks for this great tutorial. I have a question I'm hoping you could answer. Do you know why the LinearGradient would display in preview mode and in the Simulator, but when I preview on a physical device it's just a white background? Thanks.

    • @danielkwood
      @danielkwood 3 года назад

      Actually just found the answer - go into the Color sets and change Appearances to None or set the same color for both Light and Dark appearance.

  • @iamyou6555
    @iamyou6555 2 года назад +1

    really helpful video thanks. Question how does binding know which state variable to connect to if there's multiple bindings and states i.e.
    @State private isNight = false
    @State private somethingElse = ...
    would the @Binding have to have the same variable name you want to bind to or?

    • @seanallen
      @seanallen  2 года назад +1

      Yes, it knows what to bind it to because it's the same name. I believe you can create a custom initializer if you need to to be a different name, but that's getting into edge-case territory. They typical way to use them is to name the properties the same.

  • @edous_3843
    @edous_3843 4 года назад +1

    Awesome work! (y)
    Can I ask you for one question please?
    How can I change the line at bottom (default is set on black) to white color? (the line which you use for quit the app)
    Is it even possible? I tried to look for it but I can not find it.... :(
    Do you know hot to do it sir?
    Thank you! :)

    • @seanallen
      @seanallen  4 года назад +1

      This is the "home indicator" that is a system thing, not an individual app thing. I don't believe there is a way to change that.

    • @edous_3843
      @edous_3843 4 года назад

      @@seanallen oh ok. Thank you so much for your answer. Appreciate it ✌️☺️

  • @kalyvianakis
    @kalyvianakis Год назад

    Thank you for this introduction to SwiftUI. Pretty well done 👍

  • @shaokangHuang
    @shaokangHuang Год назад

    About the List ForEach integrated with SwiftUI CoreData, how to implement the top function of the list, I mean to let any row of list go to the top function. Where to find videos