Lots of tutorials out there focus only on basic stuff, but you, Nick you teach the more advanced stuff. Really appreciate that! Thanks very, very much! Just subscribed to your channel.
Thank you so much Nick... Awesome examples and very powerful tool. Thank you for sharing your knowledge. Keep going . Energy and persistence overcome obstacles.
Very interesting to be able to customize the behavior of our titles or to be able to know if an object is on the screen or not, how much scroll has been done in the view, etc. Thank you!
Bro you are my favorite teacher by faaar! I would definitively buy a Course from you about building Really Advanced production app using the latest SwiftUI Features (async await sequence complex filtering, MapKit, CoreKit and professional animations just to give you some ideas). In the meantime keep up the excellent work.
as always Nick your the man! would you consider fully using preferencekeys for any communication back to parent, as an alternative for bindings? or is there a performance cost
I don’t think there’s much of a performance cost here. Bindings are better if the value will keep changing, while the preference key will be set only once per init. The problem with these PreferenceKeys is that they are environment variables so multiple views could be writing and overwriting to them. You also need to create a custom Key and observe the key for every value you create. I use these sparingly, usually only when I find a Binding isn’t scalable. Well use these in the next 2 videos so you’ll see some real world examples!
Hey... you are definitely one of the best teachers i have ever encountered . I am having great great difficulty with the Apple Sign in in the instagram course, it seems your method is outdated . I'm trying here because no response in the Q&A section. Can you please do a tut on Firebase apple sign in if possible. Thanks very much for all your efforts.
WOW - This is quite confusing. I liked your reply to Ago re using Bindings unless not scaleable. Any reason you wouldn't use the environmental variable technique?
Hi Nick, learning a lot with your videos. You explain very well and most important put yourself on the beginner shoes. A doubt about PreferenceKey, is it possible to have more than 1 key? e.g. implement all the three use cases you explain on a single app? many thanks, best regards
Glad to hear that Tiago! Yes, you can create as many PreferenceKeys as you want in your app. I often will have 1 for SafeArea, 1 for ScrollViewOffset, and maybe 1 for reading location of an object. The thing to keep in mind is that when setting the values for the PreferenceKey, it overwrites the previous value. So generally, you justdon't want two different functions on the same screen to be updating the same PreferenceKey. (I hope that make sense? lol)
@@SwiftfulThinking it doesn't (yet, lol) but thanks for the reminder. It would be good if you could do/show how to do an app with all these things you explain, i.e. another todo app :)
can I use PreferenceKey to set the height of TabView according to the content of it's Childs , because if I put tabView in ScrollView I have to specify the height of the tabview otherwise the tabview will not appear
Very good but it is very difficult to retype everything on Xcode when we want to experiment with that. Please make the projects available for your videos! Thanks
Related to this preferenceKey... isn't easier to create a @State variable in the parent and pass a binding to the children? I agree that if you have 3 child views, one inside another, the preferenceKey will be "easier"
Why Does SwiftUI ScrollView Return To Top but not to the point from where I started/clicked? can I control this with the prefernceKey or geometry reader?
You are the only iOS dev I can handle listening to. Everyone else waffles on and sends me to sleep.
😂😴
Lots of tutorials out there focus only on basic stuff, but you, Nick you teach the more advanced stuff. Really appreciate that! Thanks very, very much! Just subscribed to your channel.
This is probably the most confusing lesson I’ve seen so far from Nick. I’ll definitely need to rewatch
We’re going to use these in the next 2 videos so you’ll get some practice 🤠
I haven't been able to finish it because I catch myself going on autopilot lol
ניק אתה תותח הסברים ממש ברורים
קצרים וקולעים תודה רבה לך
ממדינת ישראל !!!!
No doubt the explanations on each of the series have been magnificent :) and gone inside such easily and fast.
The whole series is awesome... love how you come up with the use cases for each topic
your content is like a gold mine!!!
Thank you 정대리!
Thank you so much Nick... Awesome examples and very powerful tool. Thank you for sharing your knowledge. Keep going . Energy and persistence overcome obstacles.
Thanks Andrej :)
Incredible tutorial! The pace & quality is perfect! THANK YOU!
Very interesting to be able to customize the behavior of our titles or to be able to know if an object is on the screen or not, how much scroll has been done in the view, etc. Thank you!
Bro you are my favorite teacher by faaar! I would definitively buy a Course from you about building Really Advanced production app using the latest SwiftUI Features (async await sequence complex filtering, MapKit, CoreKit and professional animations just to give you some ideas). In the meantime keep up the excellent work.
Thanks Ugo! I definitely want to do a bigger app soon. I'll keep those in mind.
This is what I needed. Really good examples! Didn't know that this even existet!
as always Nick your the man! would you consider fully using preferencekeys for any communication back to parent, as an alternative for bindings? or is there a performance cost
I don’t think there’s much of a performance cost here. Bindings are better if the value will keep changing, while the preference key will be set only once per init. The problem with these PreferenceKeys is that they are environment variables so multiple views could be writing and overwriting to them. You also need to create a custom Key and observe the key for every value you create. I use these sparingly, usually only when I find a Binding isn’t scalable. Well use these in the next 2 videos so you’ll see some real world examples!
Top notch opening and introduction. :)
Thanks :)
Will need some review but this is very powerful! Likely several reviews LOL!
Thanks again Brad!
It's really new information for me. Thanks alot
Hey... you are definitely one of the best teachers i have ever encountered . I am having great great difficulty with the Apple Sign in in the instagram course, it seems your method is outdated . I'm trying here because no response in the Q&A section. Can you please do a tut on Firebase apple sign in if possible. Thanks very much for all your efforts.
Hi, sorry about that. The DogGram course is a bit deprecated now. I will be covering Firebase on this channel soon!
@@SwiftfulThinking i solved the issue an posted solution in course for anyone else who may have same issue.
5:45 if your value does not update remove the "value = nextValue()". For some reason the initial code stopped working until you remove that.
WOW - This is quite confusing. I liked your reply to Ago re using Bindings unless not scaleable. Any reason you wouldn't use the environmental variable technique?
Environments update from parent to child.. this is the reverse, a child view trying to update the parent’s value
Thanks a lot nick , you are perfect in explanation
Amazing like always. You're a great teacher 🥵
Nice work💕
Very well explained! Thank you!
Hi Nick, learning a lot with your videos. You explain very well and most important put yourself on the beginner shoes. A doubt about PreferenceKey, is it possible to have more than 1 key? e.g. implement all the three use cases you explain on a single app? many thanks, best regards
Glad to hear that Tiago! Yes, you can create as many PreferenceKeys as you want in your app. I often will have 1 for SafeArea, 1 for ScrollViewOffset, and maybe 1 for reading location of an object. The thing to keep in mind is that when setting the values for the PreferenceKey, it overwrites the previous value. So generally, you justdon't want two different functions on the same screen to be updating the same PreferenceKey. (I hope that make sense? lol)
@@SwiftfulThinking it doesn't (yet, lol) but thanks for the reminder. It would be good if you could do/show how to do an app with all these things you explain, i.e. another todo app :)
Good explanation!
Loved it... 😍
Bro I love you. You teach me like Hell... ❣
Awesome content!!!!
can I use PreferenceKey to set the height of TabView according to the content of it's Childs , because if I put tabView in ScrollView I have to specify the height of the tabview otherwise the tabview will not appear
This video was amazing thank you
Very good but it is very difficult to retype everything on Xcode when we want to experiment with that. Please make the projects available for your videos! Thanks
Thank you for the tutorial.
Related to this preferenceKey... isn't easier to create a @State variable in the parent and pass a binding to the children? I agree that if you have 3 child views, one inside another, the preferenceKey will be "easier"
if we want to use Background again to assign another background , what will happen?
Why Does SwiftUI ScrollView Return To Top but not to the point from where I started/clicked? can I control this with the prefernceKey or geometry reader?
You can use ScrollView Reader - there is some lesson in this course here.
@@vladimirmoor please link me there
@@jemmytech5474 th-cam.com/video/ZkOvD3okAJo/w-d-xo.html
Awesome video
Thanks for the tutorials, do you have a link to the code?
Hi Karl, the code will be posted on my Github once I finish recording the playlist (about 1 week from now) github.com/SwiftfulThinking
why is it static?
Why can not I use state/binding simply?
你的名字和我一样
got the same question. did you find the answer?
15:25 thats one funny solution 😆 I dont know why I laughed
😅
@@SwiftfulThinking thanks for the detailed tutorial, opened up some pretty neat features for my app
can you share code please?
All source code is posted to my github! github.com/SwiftfulThinking
Hey then discord group?
Discord is LIVE! discord.gg/vhKKyYTGDb
thank you