Create your first app with SwiftUI and SwiftData
HTML-код
- Опубликовано: 5 сен 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.
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!!!
Paul, I’m obviously watching this months later, but I donated to this worthy cause. Thanks for your support of those in need.
Thanks Paul, have watched this live from the start, great livestream, thanks again!
Happy birthday, Paul! Thanks for all the good things you do and for bringing the fun to func 😊
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.
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.
Thanks Paul for your time on this important day!
Paul. Late but see the video. Thanks a lot for your trmendous teaching work. Astonishing, Superb.
You are the best. Could you also make a video SwiftData with MVVM architecture?
belated happy birthday 🍻
and thanks for the great content
I can't believe that. I shipped an app only by watching this video!
Thank you, Paul
Amazing as always!
thanks Paul, this is great
Happy birthday Paul!
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.
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 🙏
Great content!
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?
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!
Legend!
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
@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?
👏
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
🎂
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?
does anyone know how you would load multiple images into swift data?
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?
can i persist swift. data with a firebase backend?
where can I get the source code ?
swift data is just in memory aint it or can it be persitted on phone
it´s persisted via SQLite
swift-data, why did not you start with the fact it is not mvvm friendly, and not usable for real life aps...?
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 🥲