Create your first app with SwiftUI and SwiftData

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024
  • You can find my fundraiser here: www.justgiving... - all donations welcome!
    Get the code here: github.com/two...
    December 22nd is my birthday, and as usual I'll be live-streaming building a complete SwiftUI project from scratch to help raise money for folks who are experiencing homelessness. Come along to learn lots of Swift, SwiftUI, and SwiftData, get your questions answered, and also contribute to a great cause.

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

  • @sawyer303
    @sawyer303 Год назад +4

    Thanks Paul, have watched this live from the start, great livestream, thanks again!

  • @t16incho
    @t16incho 9 месяцев назад

    Thanks Paul for your time on this important day!

  • @hosseindastan6221
    @hosseindastan6221 9 месяцев назад +1

    I can't believe that. I shipped an app only by watching this video!

  • @tazman7689
    @tazman7689 7 месяцев назад +1

    Paul, I’m obviously watching this months later, but I donated to this worthy cause. Thanks for your support of those in need.

  • @dimiutube
    @dimiutube Год назад +3

    Happy birthday, Paul! Thanks for all the good things you do and for bringing the fun to func 😊

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

    This video helped explain SwiftData well. Thanks so very much. Now I've got to go switch from passing the model context to my data service where I did update on the main thread, to sharing the container instead.

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

    Paul, It is months later but I want to let you know that I found this tutorial VERY clear and consequently VERY helpful. I had watched other tutorials and none were as clear as this one. A BIG thank you!!!

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

    Hello. Your content is very valuable to me and I want to follow it constantly. I would appreciate it if you had the chance to set the videos with subtitles. Because I am Turkish, my English is not very good. I would like to watch the video with subtitles and benefit from your information. Thank you again for sharing your valuable information with us.

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

    Paul. Late but see the video. Thanks a lot for your trmendous teaching work. Astonishing, Superb.

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

    thanks Paul, this is great

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

    belated happy birthday 🍻
    and thanks for the great content

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

    Happy birthday Paul!

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

    Great video! do you or could you make a video on how to use the documentation ? I find it hard to what are all the options that can be passed into a functions or method. For example Lets say I create a button and add .Frame and .Padding. I could I find where all the other options are in the documentation. Not just for the button but for others as well.

  • @Joeron79
    @Joeron79 5 месяцев назад

    Thanks Paul. Could you also make a video SwiftData with MVVM, Restful API and Network Monitor (Online/Offline) when it saves data before offline? Please 🙏

  • @daco9464
    @daco9464 Год назад +7

    You are the best. Could you also make a video SwiftData with MVVM architecture?

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

    As usual, great walkthrough of some complex topics. Much appreciated.
    I tried adding "@Binding var navigationPath: NavigationPath" to your PeopleView. But that breaks in the initialiser because i'm not initialising it. Tried adding it as a parameter to the init method, but couldnt get it right. Perhaps the @Binding macro makes the syntax more complex?

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

    Paul, great tutorial - but question (for anyone :-) ). In another very similar tutorial, you sugegsted using a function for deleting destinations using _ indexSet: IndexSet whilst here you use at offsets: IndexSet. What was your rationale for the different functions for what seems very similar tutorials? Cheers!

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

    Great content!

  • @psa206cc
    @psa206cc 3 месяца назад

    Hi Paul! I find this video very good! I have a question for you: I'm creating an app based on your example but when I get to the creation of the EditPersonView it gives me an error: "Struct 'ViewBuilder' requires that 'EmptyTableRowContent' conform to 'View'" and "Static method 'buildExpression' requires that 'some View' conform to 'TableRowContent'" near the TextField lines of the name
    Can you help me? Thanks!

  • @AnthonyKane-v3c
    @AnthonyKane-v3c 11 месяцев назад

    This was very informative. would there be a similar way to bring in Pdfs stored in Books app much like you did for photos? im trying to link to a stored pdf
    Regards

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

    Any chance to OBSERVE CHANGES outside of SwiftUI?
    I need to build a Synchronizer logic which works silently, just to explain there is a case where I really don't need a view.

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

    Hi Paul,
    I have one question about sortDescriptor. It is possible add in one menu inside the toolbar, insert a tag for bool value?. Because i have the bool value in my model class. Ps: sorry for my english

  • @NikeTao
    @NikeTao 6 месяцев назад

    @twostraws One thing I noticed is after creating either a Person or Event with a blank name property since they are already created they persist after pressing the "Back" button and can be hard to delete. I am searching for a way to automatically delete objects with blank values (like in Apple's Notes app when a note has no value it gets deleted), but yet to find a solution. Is there an elegant solution to do this?

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

    Thank you, Paul
    Amazing as always!

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

    Hi Paul, great video!
    Is there a way to construct more complex #predicates?
    In a CoreData app I used CompoundPredicate to construct a NSPredicate from a view, that allowed a user to compose a query.
    Is there a way in SwiftData to do something similar?

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

    does anyone know how you would load multiple images into swift data?

  • @Y.AndreaRusso
    @Y.AndreaRusso 7 месяцев назад

    can i persist swift. data with a firebase backend?

  • @ConfidentlyRong-jo5yt
    @ConfidentlyRong-jo5yt 7 месяцев назад

    Legend!

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

    If I tap to add a new person or location and don’t enter anything the app saves the new blank location or person. Is there a way to prevent that?

    • @ScottHatmaker
      @ScottHatmaker 3 месяца назад

      I had the same question. Perhaps you could do a custom "Back" button and do a check in the edit screen for blank name or something. I would love to see how this really should be handled with the default "Back" button as you leave edit screen. Let us know if you found a way...

  • @ankitkishore-u5v
    @ankitkishore-u5v 25 дней назад

    i am getting distracted love man 🐕

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

    where can I get the source code ?

  • @user-dfgyh
    @user-dfgyh Год назад

    👏

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

    🎂

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

    swift data is just in memory aint it or can it be persitted on phone

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

    swift-data, why did not you start with the fact it is not mvvm friendly, and not usable for real life aps...?

  • @richie_01
    @richie_01 Год назад +3

    Great, great video but nothing can beat your two Sammies 🥰 I had one for 13 years, passed ten years ago and I still miss him everyday 🥲