- Example of how create a custom TabBar in SwiftUI and avoiding navigation bugs (as me 😅)
- Built with Xcode 13.2
- Xcode 13.2 Beta
- iOS 15.2
- Simple example composed by:
- TabBarView.swift - TabBar component
- TabBarIcon.swift - TabBarIcon component corresponding to tab from TabBarView
- ViewRouter.swift - Router used to shared state between the TabBarIcons and TabBarView
- ContentView.swift - View holding the ViewRouter instance and change between screens based on tab selections.