Realm+SwiftUI-1: PropertyWrappers - Part 1

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 38

  • @kenturnbull9679
    @kenturnbull9679 2 роки тому +1

    Thanks Stewart. Looks like waiting for this version of Realm was worth it.

    • @kenturnbull9679
      @kenturnbull9679 2 роки тому

      Just noticed your new hat. Is it just for around the house?

  • @Mahadev-x7u
    @Mahadev-x7u 2 роки тому +1

    Excellent simple ... thank you Stewart.

  • @anashassnn
    @anashassnn 2 роки тому

    was just looking for this!! Thanks Stewart!

  • @Jager-yoo
    @Jager-yoo 2 роки тому +1

    The Bakery app you introduced early in this video issooo fascinating.
    Thank you for always giving good quality lectures. 👍🏻

  • @juich337
    @juich337 2 роки тому

    Thanks for the fantastic work! Always a pleasure to assist your videos!

  • @dre5671
    @dre5671 2 роки тому

    Thank you Stewart! You'er such a great teacher
    Did you ever figure out the fix for the preview?

  • @larschristiansen3136
    @larschristiansen3136 2 роки тому +1

    Curiosity killed the cat. :-)
    I didn't have the intention to launch a new area of discovery, but curiosity being....
    Had a first watching the video. No interaction at this point.
    Extremely interesting, so I'm now good waiting impatiently for the future episodes.
    Thank You for enlarging the horizon.
    PS: According to you would it be likely that the WWDC introduce à Swift clone on Realm?
    It does seem that CoreData could benefit from a swiftier version.

    • @StewartLynch
      @StewartLynch  2 роки тому

      I don’t think I said it would be likely, just wishful thinking :)

  • @andresraigoza2082
    @andresraigoza2082 Рік тому

    Thank you so much, very well explained. BTW the previews are working just fine now on Xcode 14.2

  • @ChuckDiggins
    @ChuckDiggins 2 роки тому

    I enjoy your clearly-explained lessons. I am going to start adding embedded objects to my project, albeit clumsily. Will you be covering this in this series?

    • @StewartLynch
      @StewartLynch  2 роки тому

      What to you mean by embedded objects?

    • @ChuckDiggins
      @ChuckDiggins 2 роки тому

      @@StewartLynch As an example, I have WordCollection objects comprising a name, a teacher name, and an array of multi-language word structs. Looking at the Realm documentation, they refer to such structures as "embedded objects". Naturally, I will also want to have collections of WordCollections, embedded objects embedded in higher level objects.

    • @StewartLynch
      @StewartLynch  2 роки тому

      @@ChuckDiggins I think you mean one-to-many or many-to-many relationships. That is coming in the next project

    • @ChuckDiggins
      @ChuckDiggins 2 роки тому

      @@StewartLynch I eagerly await.

    • @StewartLynch
      @StewartLynch  2 роки тому

      Monthly subscribers to my Ko-Fi fund get immediate access 😀

  • @Jager-yoo
    @Jager-yoo 2 роки тому

    Hi Stewart! I'm watching the video again and trying to follow along.
    I have a question, at 13:51, Why did you use 'convenience init' rather using init(name: String) ?

    • @StewartLynch
      @StewartLynch  2 роки тому

      This is a very good question but unfortunately the Realm team has not provided an official answer. My guess is that while it works now (a 'feature'), it may not work in the future and/or there will be intermittent results. All of their docs show a convenience initializer so I go with what they do.

  • @user-a_fellow_traveler
    @user-a_fellow_traveler Рік тому

    this way is co easy to create store and update, thanks a lot

  • @thelambsauce2015
    @thelambsauce2015 2 роки тому

    Thank you so much for this simple and straight forward tutorial, also tought me a lot of other new things such as @FocusState, again thank you so much!

  • @nishchal.v
    @nishchal.v 2 роки тому

    First of all this is awesome! thanks for these tutorials.
    Also can you please provide the link to that bakery application? the one you used to create the app icons

    • @StewartLynch
      @StewartLynch  2 роки тому +1

      Thanks. I have added a link in the description now.

    • @nishchal.v
      @nishchal.v 2 роки тому

      @@StewartLynch Thank you sir, you are the best 🤝🏻

  • @ChuckDiggins
    @ChuckDiggins 2 роки тому

    Stewart, I installed Realm and RealmDatabase with no trouble. My Package Dependencies look correct, yet when I attempt to import RealmSwift, I get "No such module 'RealmSwift'"
    I'm running XCode 13.3 beta 2. Any ideas?

    • @StewartLynch
      @StewartLynch  2 роки тому

      I would have to look at your project Chuck. Fee free to email me with that project so I can take a closer look. Have you tried a clean and build?

    • @ChuckDiggins
      @ChuckDiggins 2 роки тому

      I backed off the beta version to 13.3 and all is well. Might prove useful info to someone.

    • @ChuckDiggins
      @ChuckDiggins 2 роки тому

      @@StewartLynch I did end up working with fresh project(s) and never resolved the problem. It definitely was my using the xcode beta version. Thanks for your reply.

  • @vamsi3877
    @vamsi3877 2 роки тому

    Excellent 👏Stewart. What's difference between Realm and CoreData ?

    • @StewartLynch
      @StewartLynch  2 роки тому +1

      Core Data is a framework that you use to manage the model layer objects in your application. It provides generalized and automated solutions to common tasks associated with object life cycle and object graph management, including persistence. The data store is traditionally SQLLite but it does not have to be, It has a level of abstraction that I find cumbersome. Realm is a NoSQL database that you react with directly using the Realm SDK

  • @drmucahiderdogan
    @drmucahiderdogan 2 роки тому

    This is a great tutorial.

    • @StewartLynch
      @StewartLynch  2 роки тому

      Glad you like it. Make sure you subscribe as there are more to come over the next few weeks.

  • @obelix8477
    @obelix8477 2 роки тому +1

    +1 for renaming ContentView. Wish other Swift coding tutorials would follow your lead. May I suggest you also click the name ContentView in the default comments? Xcode recognizes that you might also want to UPDATE the view's name within the comments. Xcode makes this trivial.

    • @StewartLynch
      @StewartLynch  2 роки тому

      Yes. I normally do that but forgot this time. Thanks for pointing it out.