Great tutorial, thank you! If anybody stumbles on the same issue, in my case to make the capsule animation between tabs work, I had to wrap the button action in a withAnimation block: Button { withAnimation { tabSelection = index + 1 } }
@a_swiftly_tilting_planet Жыл бұрын
Nice! Thank you for sharing.
@SentimentalMo Жыл бұрын
Subscribed. Will watch this in a few hours in the morning.
@a_swiftly_tilting_planet Жыл бұрын
Thank you. Hope it is helpful.
@yugeras Жыл бұрын
Thanks a lot! Nice video and I liked the way you explain without any haste. Most videos from others are as if they are always in a hurry :)
@a_swiftly_tilting_planet Жыл бұрын
Thank you.
@gregh528 Жыл бұрын
Great tutorial thanks. Love you teaching style.
@a_swiftly_tilting_planet Жыл бұрын
Thank you.
@AromaVerma-c1t Жыл бұрын
Thanks a lot! Nice video and I liked the way you explain.
@a_swiftly_tilting_planet Жыл бұрын
Thank you so much. Hopefully I can be informative and do some live streams during the week of WWDC23.
@chel.mckayla Жыл бұрын
Great video!! Extremely helpful!! Although I was trying to add a different photo to each page, and I'm not quite sure how to do it. I have tried doing it using TabView but it gets rid of all the icons. Any suggestions on how I can fix that?
@a_swiftly_tilting_planet Жыл бұрын
Just make a new SwiftUI View and add it to the ContentView inside the TabView like this: TabContentViewOne() // Add a better View name here. .tag(1)
@NineVoltDigitalCinema Жыл бұрын
Audio is sounding better! Did you change up your mic placement, or doing some editing in post?
@a_swiftly_tilting_planet Жыл бұрын
Changed my mic position.
@AkimboFennec Жыл бұрын
Custom tabs for sure.
@a_swiftly_tilting_planet Жыл бұрын
If you like custom tab views this takes a slightly different approach. kzbin.info/www/bejne/nXvcm6Ovd7x0e9E
@comgahanhphuc4 ай бұрын
thanks for video 😍
@a_swiftly_tilting_planet4 ай бұрын
You’re welcome.
@CS-gs2eo5 ай бұрын
Nice tutorial! Thank you! I have a small question: what does .tag() mean and work in your code?
@a_swiftly_tilting_planet4 ай бұрын
It’s a unique identifier for the tab view.
@BillBoneta-o5k2 ай бұрын
@@a_swiftly_tilting_planetgood
@gopalakrishnans61929 ай бұрын
Great video! , if we using custom tabview how we can persist the navigation state because if i switched the bottom tabs the navigation state gets reset
@a_swiftly_tilting_planet9 ай бұрын
Good question, I'd have to look at the code again and think about it.
@emilrifahi Жыл бұрын
This is really great, using it for a project. However as overlay, I cant hide the customtabbar when I navigate into a nested View. Example: HomeView() contains a NavigationView and several different navigation Links In my MainView() I have a Tabview than includes HomeView and other views. When I select the Home tab in the tabbar, and then press a navigationLink, I enter a nested View with the overlay (Customtabbar) still still visible.
@emilrifahi Жыл бұрын
Would really appreciate feedback/ solutions on how I can hide the overlay of the tabview as well. Thanks!
@a_swiftly_tilting_planet Жыл бұрын
Sorry for the delay, but hopefully this live stream answers your question. Live Coding: Hide Custom TabView in SwiftUI kzbin.infobGSp2kRsawQ?feature=share
@vittyfiorentini238 Жыл бұрын
Hi, updating xcode to 14.3 i receive the log "[PipelineLibrary] Mapping the pipeline data cache failed, errno22" when adding the MapView in the viewcontroller. I Receive this error only when i test on a real device not in the simulator. Can i fix it ? Is a common problem? Thanks for the time I appreciate so much.
@a_swiftly_tilting_planet Жыл бұрын
I haven’t run into this problem, so I’m not sure how I would fix it. Probably check out the Apple Developer forms or stack overflow. See if it’s something others have run into.
@TrânBảo-x2k4q Жыл бұрын
Can I add 6 items on the tab bar??
@a_swiftly_tilting_planet Жыл бұрын
Building out a custom tab bar would allow you to put as many that can fit on screen, or if you really wanted to you could make a scrolling tab bar.