Skip to content

UITabBarController got custom tab bar implementation! ๐Ÿ˜Ž

License

Notifications You must be signed in to change notification settings

stateman92/TabBarController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

TabBarController

UITabBarController got custom tab bar implementation! ๐Ÿ˜Ž

Setup

Add the following to Package.swift:

.package(url: "https://github.com/stateman92/TabBarController", exact: .init(0, 0, 2))

Or add the package in Xcode.

Usage

let tabBarController = BaseTabBarController<MainScreenTabs>(tabBarView: AdaptiveTabBar(selectedColor: .red, unselectedColor: .blue))
addChild(tabBarController)
tabBarController.view.frame = view.bounds
view.addSubview(tabBarController.view)
tabBarController.didMove(toParent: self)
// ...
tabBarController.setSelectedIndex(index: 2)

For details see the Example app.

Example

Example

About

UITabBarController got custom tab bar implementation! ๐Ÿ˜Ž

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages