Пікірлер
@oranmccabe
@oranmccabe 8 сағат бұрын
Very helpful mate, cheers
@Siniom_swe
@Siniom_swe Күн бұрын
print(coolCounter) // Prints 45 Nice video! I like the walkthrough and the explanation for the reasoning behind it. Especially when you connect that reasoning to actual code. Keep up the good work! 😊
@lucaban
@lucaban 3 күн бұрын
Hey Tundsdev! thanks so much for this entire course. It helped me fill in some missing gaps of knowledge on SwiftData. Do you have the entire todo list app available as a public repository? Thanks again!!
@TreyBrowder-p1s
@TreyBrowder-p1s 6 күн бұрын
The best video for first time submissions no doubt! Thanks so much!
@Luxun117
@Luxun117 9 күн бұрын
Hey Tunds, this was great. There's a bit at 7:54 where you say (I'm paraphrasing) "The card in the for each is refreshing because the underlying model is changing and both of these for each's are listening to that property". Do you mean listening to the overall model or the specific 'like/dislike' properties within the model?
@ale9507
@ale9507 12 күн бұрын
These videos are fantastic. Thanks for your hard work.
@homerreal
@homerreal 16 күн бұрын
No cap one of THE best tutorials on swiftdata migration/versioning <3 Thank you so much sir. You saved my day
@jaimeacasta
@jaimeacasta 16 күн бұрын
Amazing video! Greatly explains, however I've got a question... I tried this and the preload works, however, it preloads the data randomly. I want the data array in a certain order. I tried adding a "order" constant to the CategoryResponse and sort the array just before spending to context but this doesn't work. Did you figure out how to get the preloaded array sorted?
@Ni7ram
@Ni7ram 18 күн бұрын
Great job, but seems a little overengineering to me.. isnt it better to handle all this on the UI itself? What happens if the endpoints start to change? you have to do a massive refactor. And the system is becoming too rigid. I've never seen endpoints unit-tested in production, even in modern modular apps of 40 developers and architects. Dont know to be honest
@tundsdev
@tundsdev 17 күн бұрын
Hey so I'm not actually testing an API call I'm stubbing it with fake data to make sure the UI reacts correctly when I decode the API response, this is quite common and something I've done quite a lot in my career, it's not needed for every case like everything in software development but sometimes you want to check that your API response and your mappers are working correctly.
@Ni7ram
@Ni7ram 18 күн бұрын
Umm.. the example is good, but ViewModels shouldn't be interacting with the networking layer.. that is a job of the Presenter. ViewModel should be totally agnostic about it, and just store static data, even less be making async networking calls.. this is coupling components unnecesarily, and that can bring problems in the future and make it harder to refactor. I know anyway the videos aren't about architecture , but there goes my two cents!
@Ni7ram
@Ni7ram 18 күн бұрын
Im learning a lot, but I find the last test a little weird... isnt it simpler to test for the real error? I mean, what happens if you have 10 MappingError cases? are you going to test that is NOT each one of them? Seems backwards logic to me
@PA20243
@PA20243 19 күн бұрын
Thanks for the video! Should the tester download testFlight app on his iphone before he download the test build?
@AkimboFennec
@AkimboFennec 19 күн бұрын
I tried using @Observable, and i hooked up to the fields from the CreateNewContact View, and i used @State to initialise EditContactViewMOdel inside CreateNEwConctact view. Core data saved new contacts, but the contacts have blank names and email fields. IT seems that the edited fields are not saved to Core Data
@pradeepsamuel2946
@pradeepsamuel2946 19 күн бұрын
Thanks for this video! It was incredibly helpful. You're amazing-thank you for making this process so much easier!
@grin_phi
@grin_phi 20 күн бұрын
Excellent video as usual @tundsdev! I wonder, is there a specific reason you used tool bar items to present sheets? Did you run into the same issues as me when using navigation links; namely 1) no automatic back button in the second column and 2) nested navigation links (i.e. a link in the view presented by the tool bar button) causing a memory leak and crashing the app?
@Pete-ek9dw
@Pete-ek9dw 20 күн бұрын
thank you sooooo much!😀
@nigelhamilton6807
@nigelhamilton6807 21 күн бұрын
Is it possible to download the source code? Thanks.
@Luxun117
@Luxun117 23 күн бұрын
You're a genius teacher. Thanks Tunde and keep up the good work.
@nigelhamilton6359
@nigelhamilton6359 25 күн бұрын
Really great tutorial. Thank-you! I was wondering though... If a user started the app with poor or no internet signal, such that it found none of the restored data in CloudKit, and so then added the data in the app, when the signal was restored, would you end up with duplicates? Perhaps the next launch would remove the duplicates??
@hackmedia7755
@hackmedia7755 26 күн бұрын
can we use this same code for setting up renewing subscriptions? Also, I'm trying to modify it to have code to talk to my backend server and verify with the app store so the user can access videos.
@idonov8
@idonov8 26 күн бұрын
Dude you're so awesome. Your channel is great and such a great help for me right now, thanks!!
@NICK4LIFE11
@NICK4LIFE11 27 күн бұрын
Can you please explain the reason for 2 context. viewContext and newContext. One runs on the main thread and one in the background. I just don't understand why we need the newContext. I didn't understand the reasoning in the vid, still new to core data
@hackmedia7755
@hackmedia7755 27 күн бұрын
It's originally called Model-View-Controller design pattern. No idea why they make up another term for something.
@MatiasMeno
@MatiasMeno 18 күн бұрын
They are very similar, but it's not the same thing. In traditional MVC, the view still gets its data updates from the model. The controller is just an intermediate to handle user events and then update the model. In MVVM the ViewModel acts as an intermediary for the model. The view does not interact with the model directly but the ViewModel exposes the relevant data and triggers updates when necessary.
@thingsmymacdoes
@thingsmymacdoes 28 күн бұрын
exactly what I was looking for !
@anna_anna_anna_
@anna_anna_anna_ 28 күн бұрын
THANK YOU! I learned so much in this video! Analogies help so much when trying to explain sth, especially when made with social media apps that everybody knows.
@jameelshehadeh9011
@jameelshehadeh9011 28 күн бұрын
hands down the best comprehensive property wrappers explanation
@hakeemdeggs9117
@hakeemdeggs9117 29 күн бұрын
Key thing to note, the notification alert box only appears if it's your first time running the app.
@kichuntse4746
@kichuntse4746 Ай бұрын
What if i want to preload some images into the model? And the user can also further add images into the model
@DenisBrilliantov
@DenisBrilliantov Ай бұрын
The God level soft skills
@Mirorval
@Mirorval Ай бұрын
Very usefull.
@NICK4LIFE11
@NICK4LIFE11 Ай бұрын
Is there a reason you used actor ItemContainer but in the preview lesson you just used a struct?
@carloderouaux7639
@carloderouaux7639 Ай бұрын
Man youre an absolute livesaver bro. Your content made my day
@AlexSmith-oe6pr
@AlexSmith-oe6pr Ай бұрын
"Привіт, світ!" - українською/Ukrainian 🇺🇦. Nice course, short, simple, clear and with everything need to know!)
@sreekuttand7996
@sreekuttand7996 Ай бұрын
Basically the best. Basically, we are expecting more like these videos.. 😃
@kurilenok100
@kurilenok100 Ай бұрын
let config = CKOperation.Configuration() -- it seems that this config is not used
@ValentinKovalski
@ValentinKovalski Ай бұрын
thank you so much, it was a pain
@sergiovinhal5934
@sergiovinhal5934 Ай бұрын
Helpful. Thank you sir !
@juanfanjulbravo4848
@juanfanjulbravo4848 Ай бұрын
Hi! awesome video, I have a question: Is it a good practice to force unwrap a ui component like we do in this line "for: indexPath) as! TeamTableViewCell" ?
Ай бұрын
Great video 👍 thanks Is it possible to migrate while using CloudKit?
@tundsdev
@tundsdev Ай бұрын
Yh you should be able too, you'd just have to enable icloud syncing on your container in your future app release and the schemas you have at that time would then by synced to icloud. You can check out the icloud vid on ym channel too
@niravvirpara2317
@niravvirpara2317 Ай бұрын
Great Example of Observation framework . Thanks for this video. ❤👍👏
@tundsdev
@tundsdev Ай бұрын
Glad you liked it!
@Fadiabuzant
@Fadiabuzant Ай бұрын
Nice and clear. Thanks for this tutorial.
@tundsdev
@tundsdev Ай бұрын
Glad it was helpful!
@sofresh688
@sofresh688 Ай бұрын
solid video! Great explanation
@tundsdev
@tundsdev Ай бұрын
Glad you liked it!
@niravvirpara2317
@niravvirpara2317 Ай бұрын
This was really incredible! Great explain with great examples. Thanks for this details video. 👍
@tundsdev
@tundsdev Ай бұрын
Glad it was helpful!
@hollisambrose1756
@hollisambrose1756 Ай бұрын
Excellent video on ModelActor macro. It was very helpful.
@tundsdev
@tundsdev Ай бұрын
Glad it was helpful!
@inalbansal
@inalbansal Ай бұрын
In the above response code - The range (200...300) should be (200..<300) to include 200 but exclude 300, which is the correct range for successful HTTP status codes.
@tundsdev
@tundsdev Ай бұрын
200 will be included in this range, as well as 300 which is fine when checking for a successful status code
@MessiFCBisseM
@MessiFCBisseM Ай бұрын
Thanks this is really helpful
@tundsdev
@tundsdev Ай бұрын
Glad it helped
@oldschool84
@oldschool84 Ай бұрын
You asked us to write in the comments what content we would like to see. Well, here is something related to this topic. Can you explain how to fetch and save the data that we would download from an API through the Apollo client. Also, make a tutorial on how to import GraphQL and fetch data through it. Thank you
@RyanTaylorGT
@RyanTaylorGT Ай бұрын
Super helpful, thank you!
@tundsdev
@tundsdev Ай бұрын
Glad it was helpful!
@stemple03
@stemple03 Ай бұрын
I have everything working but my likes and dislikes don't increase. The button doesn't trigger login either like yours does. Not a big deal. I will work thru it again. Many things I am trying to work on. Thanks for the Videos. They are helping me out a lot
@stemple03
@stemple03 Ай бұрын
I found it. Thanks
@moe_shah_0078
@moe_shah_0078 Ай бұрын
can you do a tutorial on deeplink when the app is terminated and a deeplink is clicked to a specific screen?
@tundsdev
@tundsdev Ай бұрын
I already cover this in the deeplinking sections and also videos on my channel too.