So yeah, this kind of teaching style; showing a bunch of variations on the same theme without dragging the audience through a meaningless app building exercise - you hit the nail smack dab on the head. This is golden, more please ! Thanks for taking the time to study the new API and condense it down into a vid. Very nice Karin!
Hi Karin, Can you provide an example of LoginView -> (clears stack and push) HomeView ->(push) ListView ->(push) DetailView -> (clear stack and push) LoginView ?
Could we have multiple navigation stacks in a SwiftUI app? Let's say I have a login flow, onboarding flow, and the main app flow. Could I use a navigation stack in the root view of each flow or just have one Navigation stack enum that covers all the flow in the app.
I'm struggling to figure-out the best option for navigation when I have a mixture of non-value and value based navigation... and there's no tutorials on it. For example, to get to my main settings screen I use traditional destination based navigation links. But deeper in, I'm using value based navigation. It turns-out you cannot used the "dismiss" action with the isPresented navigationDestinations... and everything just becomes more messy that it needed to be.
If i start learning ios development in 2024 should i start with SwiftUI or UIKit? And should i even consider native ios development as a career with KMP and React native coming on to the scene.
great video, could you make a tutorial on how instagram accomplishes their custom scale transition in the explore page? i’ve seen it done in UIKit but was unsure of the implementation, or is it only possible in SwiftUI
Рік тому+1
48:26 I burned myself with that lately. The environment object supplies ancestor views. But when you put it on the RootView and then push another view - this view is not part of the RootView, but NavigationStack. So in order to make it work properly, you would have to put it directly under NavigationStack. Screens will always be part of the NavigationStack or NavigationView. Other screens are just View siblings for RootView, not ancestors. Edit: Oh sorry, you figured this out later in the video.
Very good tutorial. Question about the ModelDataManager being put into the environment. Why didn't you add it to the app Entry @Main and all subsequent views are children/kinderen? Is there a problem with that approach? I tried it it and it works fine...maybe it will break somewhere; but not yet. Fingers crossed waiting for your reply.
Thank you very much Karin! This is by far the most comprehensive tutorial on NavigationStack if found till today! Did you also try out a TabView with each tab being a NavigationStack having its own path? I wonder what best practise would be in such a design?
hello lady please how to create a pdf report , i mean full report with custom header ( company name, address, phone .. ect ) then report header ( invoice number, date, total, customer .. ect ) finally report rows(item, qty, total .. ect) thank you
i have question, can we use viewModels as enums associated type? for example second viewModel that is observable object and sotored in some other object like in stateObject viewModel. that might be second(viewModel:SecondViewModel). can we do that if we can is it right to do that?
Thanks Karin, I finally understand view stacking better, just one question, do you to create stacks per tabview or can you it on the highest level of your app? thanks Pierre
I thought that adapting new navigation APIs in my app would be a pleasant walk in a park. It couldn't have been further from the truth. The app was crashing and hanging. Navigation links weren't working at all. This video definitely set me on the right path. Thank you so much!
Hi Karin Prater, amazing tutorial, actually even better than the apple kitchen one. Can you suggest a simple solution to change the default slide animation? Also to apply to the full stack or only the navlink?
So yeah, this kind of teaching style; showing a bunch of variations on the same theme without dragging the audience through a meaningless app building exercise - you hit the nail smack dab on the head. This is golden, more please ! Thanks for taking the time to study the new API and condense it down into a vid. Very nice Karin!
I also found it really helpful than those fast paced tutorials of building an app
Hi Karin,
Can you provide an example of LoginView -> (clears stack and push) HomeView ->(push) ListView ->(push) DetailView -> (clear stack and push) LoginView ?
Could we have multiple navigation stacks in a SwiftUI app? Let's say I have a login flow, onboarding flow, and the main app flow. Could I use a navigation stack in the root view of each flow or just have one Navigation stack enum that covers all the flow in the app.
I'm struggling to figure-out the best option for navigation when I have a mixture of non-value and value based navigation... and there's no tutorials on it.
For example, to get to my main settings screen I use traditional destination based navigation links. But deeper in, I'm using value based navigation. It turns-out you cannot used the "dismiss" action with the isPresented navigationDestinations... and everything just becomes more messy that it needed to be.
If i start learning ios development in 2024 should i start with SwiftUI or UIKit?
And should i even consider native ios development as a career with KMP and React native coming on to the scene.
great video, could you make a tutorial on how instagram accomplishes their custom scale transition in the explore page? i’ve seen it done in UIKit but was unsure of the implementation, or is it only possible in SwiftUI
48:26 I burned myself with that lately. The environment object supplies ancestor views. But when you put it on the RootView and then push another view - this view is not part of the RootView, but NavigationStack. So in order to make it work properly, you would have to put it directly under NavigationStack. Screens will always be part of the NavigationStack or NavigationView. Other screens are just View siblings for RootView, not ancestors.
Edit: Oh sorry, you figured this out later in the video.
Very good tutorial. Question about the ModelDataManager being put into the environment. Why didn't you add it to the app Entry @Main and all subsequent views are children/kinderen? Is there a problem with that approach? I tried it it and it works fine...maybe it will break somewhere; but not yet. Fingers crossed waiting for your reply.
55:20 : the .navigationTitle is no longer a bug (Xcode v15.3)
the meat of the video was good... but you really went down a rabbit hole!
Thank you very much Karin!
This is by far the most comprehensive tutorial on NavigationStack if found till today!
Did you also try out a TabView with each tab being a NavigationStack having its own path? I wonder what best practise would be in such a design?
Not yet! But this should work because Apple recommends using NavigationStack inside TabView
Best Swift channel! Thanks for making swift content!🙏
I appreciate that!
Wow! Karin this was amazing! It was very detailed and you saved me A LOT of time! Thank you! ❤
hello lady
please how to create a pdf report , i mean full report with custom header ( company name, address, phone .. ect ) then report header ( invoice number, date, total, customer .. ect )
finally report rows(item, qty, total .. ect)
thank you
you are so smart, can you marry me?
1:01:46 you're being polite ;-) I thought the way they did it was crazy!
It always feel a bit strange to critic code from Apple engineers. But it really is too weird.
Really really useful and well-made. Thank you!
Glad it was helpful!
Great content! This video really helped us out. Well done, THANK YOU! I purchased your courses!!😀
Thanks!
I watch many NavigationStack videos; I still don't understand it. So hope you will make it clear. I'm excited to watch.
i have question, can we use viewModels as enums associated type? for example second viewModel that is observable object and sotored in some other object like in stateObject viewModel. that might be second(viewModel:SecondViewModel). can we do that if we can is it right to do that?
Thanks Karin, I finally understand view stacking better, just one question, do you to create stacks per tabview or can you it on the highest level of your app?
thanks Pierre
thank you so much!!! finally I understand it with navigationPath not even the documentation explain it !!!
Thanks for this. Are you able to add a background color behind the entire list? I’ve tried everything and it won’t work for me
Karin, thank you for video! It helped me a lot! i can knew how can use destination without navigationLinks! 🤗
You've just saved the UX of my application, thank you very much!
THANK YOU ! This was so helpful. I am finally moving to SwiftUI from UI Kit and Navigation has really confused me until now : )
Hey, can you make a video about adding Images into our project like PhotosPicker?
Nice video Karin, u got a new subscriptor… go a head!!!
I thought that adapting new navigation APIs in my app would be a pleasant walk in a park. It couldn't have been further from the truth. The app was crashing and hanging. Navigation links weren't working at all. This video definitely set me on the right path. Thank you so much!
Thank you, I’ve spent 40 hours to get understandable for me info. And your describing is awesome and nice. ❤
Have you managed to adapt this new navigation API with the Coordinator Pattern?
Brilliant! Thank you for this great work.
I have challenged myself to learn swiftui in one day and this is the video. Just like a wow😮
Awesome descriptions. Thank You!
You do an amazing job. Brilliant. Thank you for your videos and tutorial.
Hi Karin Prater, amazing tutorial, actually even better than the apple kitchen one. Can you suggest a simple solution to change the default slide animation? Also to apply to the full stack or only the navlink?
Are you officially working in some company or you are a freelancer?
Damn, that last part. You've truly mastered that API
Thank you 😊 Karin for the detail explanation.
Great video Karin, congrats and thanks a lot…
Great explanation. Thank you.
Thanks for sharing 😊… when you make a new course?
That was very helpful, thank you!
Thank you! Amazing video. 🤗
Extrodinairly well explained. Well Done !
Great tutorial. Thanks
Thank you for the Tutorial👍
Now this is a tutorial. Stellar.
Thank you! Help me a lot !
You are the best ❤❤❤, this is my fav iOS channel by far !
Wow, thanks!
cool...thanks.
Great coverage of this new way of doing things
Glad you think so!
Great explanation!
Very happy to hear!
How to do slide from bottom animation or fade animation?
Finally 🎉
Thank you :)