Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.04 KB

README.md

File metadata and controls

27 lines (17 loc) · 1.04 KB

AirBar pod Carthage compatible

Demo

AirBar Demo

Description

AirBar is a library for creating UIScrollView driven expandable menus. To make library is flexible as possible there is no UI elements provided inside. You need to implement all UIKit transformations by yourself.

How to use

  1. Create AirBarControllerConfiguration object.

  2. Create AirBarController object with UIScrollView object and AirBarControllerConfiguration object.

  3. Conform your UIViewController subclass with AirBarControllerDelegate protocol.

  4. Set your view controller object to delegate property of AirBarController.

  5. Provide view transformations in following method:

func airBarController(_ controller: AirBarController, didChangeStateTo state: CGFloat, withHeight height: CGFloat)

Also you can use AirBarExample application provided in repo.