{"repo":"emrepun/StickyTabBarViewController","free":true,"listed":false,"github":"https://github.com/emrepun/StickyTabBarViewController","clone":"git clone https://github.com/emrepun/StickyTabBarViewController.git","description":"Sticky and Collapsible View on top of tab bar","language":"Swift","stars":152,"topics":["swift","tabbarcontroller","ui-components","collapsible","bottom-sheet","bottomsheet"],"license":"MIT","category":"ui-components","readme_excerpt":"StickyTabBarViewController Sticky and Collapsible View Controller on top of tab bar Requirements: - iOS 10.0 - Tab bar is visible as long as there is a sticky view controller allocated on top of it (any vc pushed at any point should not set to . Installation StickyTabBarViewController is available through SPM and CocoaPods. - SPM Installation: Add it as a new package dependency with https://github.com/emrepun/StickyTabBarViewController.git - CocoaPods Installation: Simply add the following line to your Podfile: Usage Subclass from your tab bar controller. Configure animation duration or collapsed view height directly from your tabbar controller: From : By overriding initialisers of the tabbar controller: Can also update it any time by accessing to tabBarController. Presented View Controller Configurations: Any view controller to have sticky behaviour must conform to and implement a . The implemented should be ideally anchored on top of the view controller's view and its height (either by a direct height constraint or some other constraints) should be equal to the value of . You don't need to worry about hiding or showing it since it is handled by StickyTabBarViewController itself. Collapse sticky view from the view controller that conforms to as following: Expand sticky view from the view controller that conforms to as following: Remove sticky view from the view controller that conforms to as following: Configure a Sticky child ViewController as following: Interaction with th","default_branch":null,"files":null,"tree":[],"storefront":"/r/emrepun","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/emrepun/StickyTabBarViewController/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}