SwiftUI Live: Building an app from scratch

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

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

  • @DarylNotDead
    @DarylNotDead 4 года назад +17

    I rarely post on this channel.
    But, felt compelled to today. Paul, thank you. I had long admired your blog and channel. So in lockdown, this content has been so bloody good and a nice diversion.
    Again, THANK YOU. ❤️

  • @multitudes389
    @multitudes389 4 года назад +7

    Thank you Paul , this has been a pleasure to follow

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

    Kids coming in between with dogs was so sweet

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

    Can't believe this video has only 900 likes, while other useless vids have millions !!!... you're awesome dude

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

    Cheers Paul, enjoyed following along creating the project.

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

    Great job and great app to start tinkering with

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

    Thanks so much Paul, I have been looking for an example like this. You are very good and teaching new techniques while working through the app. I am starting to get swiftUI by working through the examples with you.

  • @NotoriousGarage
    @NotoriousGarage 4 года назад +4

    Sir, the link for assets Please, I missed the live stream.
    Exactly for an educational reason, I was teaching my little cousin some maths, Negative subtraction to be specific.
    If i could build anything related to that using SwiftUI.. Oh Gosh!! You are a Swift Ninja, sharing swift skills to awesome apple developer community. 🙏🏼🇳🇵

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

    Thanks paul, keep it up

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

    What streaming software are you using? The quality is fantastic! Thanks for putting this together 😊

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

    Hello Paul. What a great tutorial. And how things, which could seem complicated, become so easy to implement with you. I have one question on this tutorial: I see that you have some functions within your ContentView to manage the game logic and manage the game state. This game is pretty straightforward. However, if we would like to extend this game with extra features (score, highest scores, players, etc.), wouldn't it be useful to have a data model to encapsulate that game logic/state management? If yes, what would be the most appropriate model: A class? A structure? Would that make sense that it encapsulates the deck? Would that be injected into the environment so that it is available within the entire app or by using other mechanism?

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

    Great tutorial! Was wondering how to do a card flip actually. I noticed you got stuck in CAPS a lot. I have that issue with the MacBook Pro butterfly keyboard. Cannot seem to get used to the key spacing even after a year. You having the same issue or was it something else? 🤔😅

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

    Very nice video Paul. By the way, there shouldn't be any comma before "and". That's valid in English and in French too ... "Harry, Hermione et Ron" 😉

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

    Can anyone answer this please. Why does Codable (or maybe its JSONDecode) require let over var defined variables? I kept getting a fatalerror from the bundle decode extension that was demoed, it was failing on the var loaded try blocked. It turns out I used var instead of let when I defined the struct Card.

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

    Wow this is great! Can I run a mac application on my phhone?

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

    Hi Paul,
    thank you for all your videos and especially for the tip with opacity changing from -1 to 1 in the flip animation in this one.
    I was looking for weeks for a solution to prevent visibility of the front side before the card is turned 90 degrees. Your solution is already much better, though the opacity of the front still animates during the flip animation.
    I was not able to find a solution where the front is always 100% opaque and the card only turns. Even using transitions I did not get it right. Any ideas?

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

      I just found out, how to do that: Change Opacity between -100 and 100, so it is below zero (invisible) for the first half of the animation and almost immediately above 1 (opaque) for the second half. It's another hack, but it works. Thanks again for the nudge in the right direction.

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

    Hey, sir. As of now for some reason I can't add LinearGradient to ZStack, compiler says "Unable to infer complex closure return type; add explicit type to disambiguate" :(

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

      Oh, nevermind, Im just stupid it looks like

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

    Awesome!

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

    i trying to replace the blue background by a jpeg to personalize the back of my card but im struggling, i tried many things like for example : to replace .fill(Color.blue) by background(Image("myPics") but doesn't work. someone can help me with that

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

    Simply awesome

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

    can you provide me github link?

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

    Hi Paul, could you please enlighten us about SpriteKit? Is it dead because of swiftui? I would love to see you do a demo and setup of spritkit with swiftui. Thanks

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

    Hahahaha.... "Just scroll back on my twitter feed and you'll figure it out." Some people want to be spoon fed.

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

    no "walking thru" anyone, how about "share" what you learned with others?

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

    The elastic aunt genomically trot because money preclinically coil except a aboriginal dahlia. smart, honorable laugh