SwiftUI Custom Tab Bar in App (Xcode 12, 2022, SwiftUI 2.0) - iOS Development

  Рет қаралды 20,996

iOS Academy

iOS Academy

Күн бұрын

Пікірлер: 50
@iOSAcademy
@iOSAcademy 3 жыл бұрын
If you like my teaching style, I've started creating my own courses here that you may like! courses.iosacademy.io/
@Lindellmattiaslindell
@Lindellmattiaslindell 2 жыл бұрын
Great video and perfect pace and everything! Something that could be useful would be if you could show how to modify the different pages for the different "tabs" i.e., the settings page and also how to insert this UI tab bar into a project (simply add it). Great video! You just got a new sub!
@problemchild01
@problemchild01 3 жыл бұрын
These tutorials help so much as a beginner, thanks!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome
@auckyrh
@auckyrh 2 жыл бұрын
this is excellent tutorial. you are the best man, thank you so much! keep hustling and sharing
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thanks
@mamayiwe
@mamayiwe 2 жыл бұрын
This explains TikTok vertical buttons. Nice work
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thanks
@finalpets
@finalpets 3 жыл бұрын
i prefer to use enum with computed properties instead of struct, with switch case and CaseIterable , the code looks more cleaner , Thanks for the Video! helps me a lot
@KimbrellBrad
@KimbrellBrad 3 жыл бұрын
Excellent mimic of the tab bar allowing for custom look and functionality! Thanks for this...inspires new ideas for customization. By the way, your TikTok course is excellent! Lots of new techniques and great foundation! I do hear some v-loggers warn that you should be careful of the trade-off of custom controls not having many system automatic features such as localization or accessibility - thoughts from you and the other viewers?
@loldesrappess.c9073
@loldesrappess.c9073 3 жыл бұрын
You really explain very well !! Thanks for yours videos
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks!
@lytude
@lytude 2 жыл бұрын
This is not very good because it refreshes the page each time. So lets say you fetch an api data on one view, if you go back to the view, it refetches the data again which is not very ideal and may cost the user too much data spending. If you fetch data, just go the the default tab view, it's worth it
@Paul-fs2dn
@Paul-fs2dn 11 ай бұрын
The problem with the default tab view is there is no way to programmatically 'pop to root' - doing so in SwiftUI requires this custom tab view implementation. Agree with your first point though, reloading the view with every change in tab is both taxing for an API fetch and is a pretty lousy user experience. It's a bummer because this solution is super slick looking, but I haven't found a workaround for the @State change auto refreshes.
@수학쌤우리소쌤
@수학쌤우리소쌤 3 жыл бұрын
Very interesting and useful video^^ I couldn’t understand everything but could guess^^
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks!
@iconic3811
@iconic3811 8 ай бұрын
Hi! How would I make it so that when my button is pressed, there's a background colour that appears behind it?
@Imadiqation
@Imadiqation 3 жыл бұрын
You are really awesome man! Thanks a lot!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome
@patricklynch6871
@patricklynch6871 3 жыл бұрын
really good video. Thanks!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome
@Janssonn
@Janssonn 3 жыл бұрын
Awesome! Love this video. Gonna take some inspiration for my custom Navbar. One question though, as I'm new to Swfit in general. How will the animation work or even add on detail-pages?
@TheRorybalmer
@TheRorybalmer 3 жыл бұрын
Hey any chance you could make a video on how to do this is swift 5 as well? I’ve been looking forever for just that.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Sure!
@Bharat_s
@Bharat_s 3 жыл бұрын
Don't you think its would be easier if we use tabview and tabitem there
@0soft
@0soft Жыл бұрын
You can't get transparent material like on the original tab bar.
@danielgabor2883
@danielgabor2883 2 жыл бұрын
Hello, How do I disable the tab bar if I want to go to another view that is not in the bar list? I want to go to the log in screen, but the tab bar will still be displayed.. how do I remove the tab bar when I want to do so?
@tomqin3685
@tomqin3685 3 жыл бұрын
Great job ! Thank you !
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome
@darinburch9043
@darinburch9043 3 жыл бұрын
Thanks for the awesome video! How do we hide our custom TabVIews in a large app when pushing to new views where we don't want to show the custom tabview??? Thank you!
@danielgabor2883
@danielgabor2883 2 жыл бұрын
did you found any solution?
@MrTalhakhan01
@MrTalhakhan01 3 жыл бұрын
But still the Z axis will overlap the tabbar. Any suggestions as to how we can overcome this issue?
@hsksearch3
@hsksearch3 3 жыл бұрын
Thank You ^^
@iOSAcademy
@iOSAcademy 3 жыл бұрын
You’re welcome
@jaylensmith6308
@jaylensmith6308 Жыл бұрын
Feels like with a switch or if-else, swiftui creates and destroys the views with a custom tab bar. Anyone have any suggestions?
@mojtabasarsaz6752
@mojtabasarsaz6752 2 жыл бұрын
thanks bro
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Youre welcome
@arnoczkyzoltan6158
@arnoczkyzoltan6158 3 жыл бұрын
Is this device safe toolbar? Is it viewing correctly on eg. iPod Touch, os SE2?
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Yes
@alexplay8867
@alexplay8867 3 жыл бұрын
Hey there is a easy way to switch tab by just swipe right and swipe left? ty
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youd have to customize it
@kezzie4037
@kezzie4037 2 жыл бұрын
my home button just up and left T-T any ideas?
@gregohb
@gregohb 3 жыл бұрын
excellent info! I would just suggest not jumping around so quickly
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@semdebakker
@semdebakker 3 жыл бұрын
Is there a video about this but then with storyboard?
@shreyanshsingh999
@shreyanshsingh999 3 жыл бұрын
Yes, I guess this is the one :- kzbin.info/www/bejne/hKmWooOHlNaCfK8 Or u could also use these :- kzbin.info/www/bejne/roqUdoGhaLaqi80 kzbin.info/www/bejne/lX-Xnaubl9J9aLc
@semdebakker
@semdebakker 3 жыл бұрын
@@shreyanshsingh999 Thanks man
@chivonchhai-IT
@chivonchhai-IT 3 жыл бұрын
Good
@jiankian
@jiankian 3 жыл бұрын
为何不分享一下代码呢,哎
How to Get User Location on a Map - Swift
26:11
Sean Allen
Рет қаралды 65 М.
How to Build a Custom Tab Bar in SwiftUI
26:22
CodeWithChris
Рет қаралды 36 М.
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 8 МЛН
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,9 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 32 МЛН
How to use Lottie in SwiftUI | Swift Packages #6
15:18
Swiftful Thinking
Рет қаралды 5 М.
Introduction to SwiftData - iOS Development
12:51
iOS Academy
Рет қаралды 10 М.
Easy Custom Animated Tab Bar in SwiftUI Tutorial for iOS 15
13:20
I Paid Game Developers on Fiverr to Make Minecraft
11:13
BadGameDev
Рет қаралды 1,7 МЛН
What do programmers actually do?
9:20
Physics Girl
Рет қаралды 2,1 МЛН
Build Your FIRST iOS App For Beginners (2024) - Tutorial
19:31
iOS Academy
Рет қаралды 331 М.
How to Create a Custom Tab Bar in SwiftUI - Step by Step for Beginners (2023)
16:28
A Swiftly Tilting Planet
Рет қаралды 14 М.
Play: The Secret Weapon for iOS Devs & Designers
10:12
Sean Allen
Рет қаралды 35 М.
Create a custom tab bar in SwiftUI | Advanced Learning #11
52:05
Swiftful Thinking
Рет қаралды 35 М.
I Made an iOS App in MINUTES with This AI Tool!
13:20
Creator Magic
Рет қаралды 258 М.