UNLOCK the Power of GENERICS in SwiftUI | Write Cleaner & Smarter Code

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

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

  • @twizzlestix9309
    @twizzlestix9309 7 дней назад

    Awesome! Super helpful and well explained.

  • @vayu3528
    @vayu3528 15 дней назад +1

    Wow bro this one was great! I'd love to see how generics could be used to refactor architecture on the view model and service level

  • @danielcrompton7818
    @danielcrompton7818 17 дней назад

    Hey Stefan, awesome topic and thanks so much! Generics are so powerful and awesome, allowing you to use your types and functions with any type.
    Please consider a video on reverse generics (opaque types ie some keyword) as none of the videos I have seen are helpful. I’d recommend this video idea 😊

  • @julestburt
    @julestburt 17 дней назад

    Great intro to generics! Thx for sharing. I played around with this idea for some time before I came upon a more complete solution going a little deeper, where I didn't have to pass in all cases or deal with the array. I knew it was possible - but took me a couple of days thinking about it. Also, I'm not sure why exactly you are using Int, and CustomStringConvertible for this case of list of String selections? Anyway hope this adds to your viewers exploration. Watching from North Vancouver, Canada! :-) Regards, Jules.

    • @appstuff
      @appstuff  17 дней назад

      Nice! I have a habit of using Int with enums because I like the flexibility it offers when storing data in a backend. When you use strings, changing the spelling of an enum case in your backend would cause a decode failure in your front end unless you modify the code. I think integers just offer more flexibility overall

    • @julestburt
      @julestburt 16 дней назад

      @@appstuff Ah thx - that makes perfect sense, appreciate the knowledge share!!

  • @jaledjara9292
    @jaledjara9292 17 дней назад +1

    App Stuff. Hey Stephan when is going to be available de Instagram Pro Plus?

    • @appstuff
      @appstuff  17 дней назад

      Instagram Pro Plus is available now! Go to the courses section of the website and you will find it there

    • @jaledjara9292
      @jaledjara9292 16 дней назад

      @ i have the lifetime an i cannot see the course… why???

  • @brodyroberts3298
    @brodyroberts3298 9 дней назад

    Shoutout to the goat himself

  • @iosdalluworld1387
    @iosdalluworld1387 16 дней назад

    Please create a video for CICD Pipeline and also network layer for large scale app

    • @appstuff
      @appstuff  12 дней назад

      I’m working on a developer tools course that will involve CI/CD with fastlane and GitHub integration

  • @737aiart
    @737aiart 17 дней назад

    subscribed