Popularity
2.4
Growing
Activity
0.0
Stable
75
6
14

Programming language: Swift
License: MIT License
Tags: UI     Tab Bar    
Latest version: v0.1.7

SSCustomTabMenu alternatives and similar libraries

Based on the "Tab Bar" category.
Alternatively, view SSCustomTabMenu alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of SSCustomTabMenu or a related project?

Add another 'Tab Bar' Library

README

SSCustomTabMenu

Simple customizable iOS bottom menu works like Tabbar, in Swift.

Swift Version Build Status [License][license-url] CocoaPods Compatible Platform PRs Welcome

Alt text

Features

  • [x] Simple and customizable iOS Tab Menu items, in Swift.

Requirements

  • iOS 9.0+
  • Xcode 9.0

Installation

CocoaPods

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

Manually

  1. Download and drop CustomTabMenu in your project.
  2. Congratulations!

Usage example

Into your Appdelegate

import SSCustomTabMenu

and add below two lines

let MyDelegate = UIApplication.shared.delegate as! AppDelegate
var navController:UINavigationController!

Add below code into didFinishLaunchingWithOptions

Initiate your controller

let homeVC        = storyBoard.MainStoryboard?.instantiateViewController(withIdentifier: "HomeVC")
let musicVC       = storyBoard.MainStoryboard?.instantiateViewController(withIdentifier: "MusicVC")
let profileVC     = storyBoard.MainStoryboard?.instantiateViewController(withIdentifier: "ProfileVC")
let eventsVC      = storyBoard.MainStoryboard?.instantiateViewController(withIdentifier: "EventsVC")
let artistsVC     = storyBoard.MainStoryboard?.instantiateViewController(withIdentifier: "ArtistsVC")
let fanFinderVC   = storyBoard.MainStoryboard?.instantiateViewController(withIdentifier: "FanFinderVC")

Initiate TabMenuVC

let tabController = UIStoryboard.TabMenuStoryboard.instantiateViewController(withIdentifier: "TabMenuVC") as! TabMenuVC

Set Menu Items with Title and image name

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: "Fan Finder",    menuItemTitle: "FAN FINDER")

Add Center and Right TabBarItem

tabController.centerTab = plusVC
tabController.RightTab  = musicVC

Add tabController as rootViewController

self.window!.rootViewController = tabController

Contribute

We would love you for the contribution to SSCustomTabMenu, check the LICENSE file for more info.

Meta

Distributed under the MIT license. See LICENSE for more information.

https://github.com/simformsolutions/SSCustomTabMenu


*Note that all licence references and agreements mentioned in the SSCustomTabMenu README section above are relevant to that project's source code only.