CardTabBar
  • December 1, 2023

This library is for adding animation to iOS tabbar items, which is inherited from UITabBarController.

Installation


Just add the Sources folder to your project.

or use CocoaPods with Podfile:

pod ‘CardTabBar’

or Swift Package Manager

Usage


 

import CardTabBar

class TabBarController: CardTabBarController {

override func viewDidLoad() {
super.viewDidLoad()
setupViewController()
setupUI()
}

func setupUI() {
tabBar.tintColor = .TabBar.title
tabBar.backgroundColor = .background
tabBar.barTintColor = .Navigation.background
tabBar.indicatorColor = .TabBar.itemBackground
}

func setupViewController() {
viewControllers = [UIViewController(), UIViewController()]
}
}

GitHub


View Github

#ios #swift
YOU MIGHT ALSO LIKE...
MijickPopups Hero

  Popups Alerts Resizable Sheets Banners

SwiftUI Tooltip

This package provides you with an easy way to show tooltips over any SwiftUI view, since Apple does not provide ...

SimpleToast for SwiftUI

SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or ...

SSToastMessage

Create Toast Views with Minimal Effort in SwiftUI Using SSToastMessage. SSToastMessage enables you to effortlessly add toast notifications, alerts, and ...

ToastUI

A simple way to show toast in SwiftUI   Getting Started • Documentation • Change Log