Conforming your SwiftData objects to Codable

Поделиться
HTML-код
  • Опубликовано: 16 авг 2023
  • Learn more about Codable: www.donnywals.com/category/co...
    With SwiftData it's relatively easy to define model objects so it makes sense to take a look at making SwiftData models Codable to see if it's better than Core Data. Ultimately, SwiftData is a wrapper around Core Data which means that the @Model macro will at some point generate managed objects, an object model, and more. In this post, we'll see if the @Model macro will also make it easier to use Codable with model objects.
    This video is a companion for: www.donnywals.com/making-your...
    Check out my books at: donnywals.com/books
    See if I have any workshops planned at: donnywals.com/workshop
    Subscribe to my newsletter here: donnywals.com/newsletter
  • ХоббиХобби

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

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

    Excelente video, muchas gracias por compartir información valiosa!!✌✌

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

      ¡Gracias! Me alegro que te guste el vídeo

  • @alin.cht.
    @alin.cht. 10 месяцев назад +1

    This video is magic! You got a new subscriber! Thank you for sharing your knowledge! 😎

  • @MikaelaCaron
    @MikaelaCaron 11 месяцев назад

    Great video Donny! 🔥

  • @nikandrii
    @nikandrii 4 месяца назад

    I wonder if this is working for you now. I'm getting the error "Return from initializer without initializing all stored properties" if I don't set movie in required init(from:)

  • @AndromedaOrion1
    @AndromedaOrion1 11 месяцев назад +1

    Hey Donny, I really like every content that you create, from blog posts to books, RUclips Videos to Social media posts. The only suggestion that I could give is maybe you can reduce the volume of the music or remove it totally. Much Love ❤

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

      I will experiment with the background music some more. I personally don't like when videos are 100% quiet other than the narrator's voice so I'll probably reduce the volume a bit in the next one, see how that goes. The point of the background music is really just to make sure that the video is never completely quiet if you know what I mean. But maybe it's better in the end if it is quiet, I'll see :) thanks for watching and providing this feedback though! I'm still very much trying to find my way around the camera, video editing and all that

    • @AndromedaOrion1
      @AndromedaOrion1 10 месяцев назад

      @@DonnyWalsdev dont worry, no matter what we're gonna watch your great content🕺🏻🎉

  • @victorriurean
    @victorriurean 10 месяцев назад