TabBarController

open class TabBarController : UITabBarController, TabBarDelegate

https://github.com/eggswift/ESTabBarController

  • 打印异常

    Declaration

    Swift

    public static func printError(_ description: String)
  • 当前tabBarController是否存在“More"tab

    Declaration

    Swift

    public static func isShowingMore(_ tabBarController: UITabBarController?) -> Bool
  • Should hijack select action or not.

    Declaration

    Swift

    open var shouldHijackHandler: ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))?
  • Hijack select action.

    Declaration

    Swift

    open var didHijackHandler: ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))?
  • Observer tabBarController’s selectedViewController. change its selection when it will-set.

    Declaration

    Swift

    open override var selectedViewController: UIViewController? { get set }
  • Observer tabBarController’s selectedIndex. change its selection when it will-set.

    Declaration

    Swift

    open override var selectedIndex: Int { get set }
  • Customize set tabBar use KVC.

    Declaration

    Swift

    open override func viewDidLoad()

UITabBar delegate

  • Undocumented

    Declaration

    Swift

    open override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem)
  • Undocumented

    Declaration

    Swift

    open override func tabBar(_ tabBar: UITabBar, willBeginCustomizing items: [UITabBarItem])
  • Undocumented

    Declaration

    Swift

    open override func tabBar(_ tabBar: UITabBar, didEndCustomizing items: [UITabBarItem], changed: Bool)