Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 961 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 961 Bytes

CurvedTabbar

A demo written in swift to produce CURVED tabbar item in center.

HOW TO USE

Drag and drop CustomTabBarController.swift and CustomizedTabBar.swift file in your project. If you are using storyboard then set Tabbar class to 'CustomizedTabBar' Screen Shot 2021-03-25 at 10 49 56 PM

If you dont have Storyboard then add below code in your UITabBarController's subclass.

         let tabBar = { () -> CustomizedTabBar in
               let tabBar = CustomizedTabBar()
               tabBar.delegate = self
               return tabBar
           }()
       self.setValue(tabBar, forKey: "tabBar")

Screenshot

Screen Shot 2021-03-25 at 10 45 02 PM