Skip to content

FreebirdRides/AirBar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 96.7%
  • Ruby 1.7%
  • Objective-C 1.6%