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 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!
Great content! This video really helped us out. Well done, THANK YOU! I purchased your courses!!😀
Год назад
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.
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?
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
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?
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.
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
Hi Karin, Can you provide an example of LoginView -> (clears stack and push) HomeView ->(push) ListView ->(push) DetailView -> (clear stack and push) LoginView ?
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.
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 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?
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