Create a custom tab bar in SwiftUI | Advanced Learning #11
Swiftful Thinking
0:00 / 0:00
Create a custom tab bar in SwiftUI | Advanced Learning #11
41 925 просмотров · 4 года назад
Swiftful Thinking
303 тыс. подписчиков
41 925 просмотров · 4 года назад
As you probably know, the default TabView in SwiftUI is not very customizable. In this video, we will learn how to build a totally custom TabBar (and TabView) in SwiftUI. We will look at the documentation and try to mimic Apple's API of the TabView as much as possible, so that ours is just as easy to use!
I haven't created many custom SwiftUI components in my bootcamp playlists because I firmly believe anyone learning to code should spend their time focusing on reusable material - things that you will use in every applications. Too many SwiftUI courses focus on building "cool UI" and don't focus enough on the core fundamentals of building apps. However, the TabBar deserves an exception because so many apps that you'll build will have some version of a TabView.
I highly recommend watching my previous 3 videos in this series before watching this one, because we will use what we've learned in those:
How to use PreferenceKeys: • Видео
How to use ViewBuilder: • How to use @ViewBuilder in SwiftUI | Advan...
How to use Generics: • How to use Generics in Swift | Advanced Le...
🤙 WELCOME BACK 🤙
WEBSITE: https://www.swiftful-thinking.com
DISCORD: / discord
GITHUB: https://github.com/SwiftfulThinking/
SAY THANKS: https://www.buymeacoffee.com/nicksarno