Simple customizable iOS bottom menu with Tabbar, in Swift.
- Simple and customizable iOS Tab Menu items, in Swift.
- iOS 9.0+
- Xcode 9.0
You can use CocoaPods to install SSCustomTabMenu
by adding it to your Podfile
:
platform :ios, '9.0'
use_frameworks!
pod 'SSCustomTabMenu'
To get the full benefits import YourLibrary
wherever you import UIKit
import UIKit
import SSCustomTabMenu
- Download and drop
CustomTabMenu
in your project. - Congratulations!
import SSCustomTabMenu
let MyDelegate = UIApplication.shared.delegate as! AppDelegate var navController:UINavigationController!
let plus = storyBoard.MainStoryboard?.instantiateViewController(withIdentifier: "PlusVC") let music = storyBoard.MainStoryboard?.instantiateViewController(withIdentifier: "MusicVC")
let tabController = storyBoard.TabMenuStoryboard?.instantiateViewController(withIdentifier: "TabMenuVC") as! TabMenuVC
tabController.arrMenuItems[1] = MenuItem(viewControllerforMenu:Krewes!, imageName: "Home", menuItemTitle: "HOME") tabController.arrMenuItems[2] = MenuItem(viewControllerforMenu:Krewes!, imageName: "Krews", menuItemTitle: "KREWS") tabController.arrMenuItems[3] = MenuItem(viewControllerforMenu:Krewes!, imageName: "Profile", menuItemTitle: "PROFILE") tabController.arrMenuItems[4] = MenuItem(viewControllerforMenu:Krewes!, imageName: "Events", menuItemTitle: "EVENTS") tabController.arrMenuItems[5] = MenuItem(viewControllerforMenu:Krewes!, imageName: "Artists", menuItemTitle: "ARTISTS") tabController.arrMenuItems[6] = MenuItem(viewControllerforMenu:Krewes!, imageName: "FF", menuItemTitle: "FAN FINDER")
tabController.centerTab = plus tabController.RightTab = music
MyDelegate.window!.rootViewController = tabController
We would love you for the contribution to SSCustomTabMenu, check the LICENSE
file for more info.
Distributed under the MIT license. See LICENSE
for more information.