Skip to content

Left or right TabBar contain many views and give the access to navigate thru them.

License

Notifications You must be signed in to change notification settings

NicolasBarbara/NBSideTabBarController

Repository files navigation

Welcome to NB

Image Image Image Image

Example

let v0 = NBView()
v0.backgroundColor = .blue
let ds0 = NBSideTabBarControllerDataSource(tableViewCell: NBSideTableViewCell.init(text: "Blue"), view: v0)
let v1 = NBView()
v1.backgroundColor = .green
let ds1 = NBSideTabBarControllerDataSource(tableViewCell: NBSideTableViewCell.init(text: "Green"), view: v1)
let v2 = NBView()
v2.backgroundColor = .yellow
let ds2 = NBSideTabBarControllerDataSource(tableViewCell: NBSideTableViewCell.init(text: "Yellow"), view: v2)
let dataSource = [ds0,ds1,ds2]
let vc = NBSideTabBarController(dataSource: dataSource, width: 60, anchor: .left, colors: [.blue,.green,.yellow])

Releases

No releases published

Packages

No packages published

Languages