AirBar alternatives and similar libraries
Based on the "Menu" category.
Alternatively, view AirBar alternatives based on common mentions on social networks and blogs.
-
SideMenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less. -
PageMenu
A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) -
SlideMenuControllerSwift
iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift. -
CircleMenu
:octocat: ⭕️ CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. Swift UI library made by @Ramotion -
GuillotineMenu
Our Guillotine Menu Transitioning Animation implemented in Swift reminds a bit of a notorious killing machine. -
BTNavigationDropdownMenu
The elegant yet functional dropdown menu, written in Swift, appears underneath the navigation bar to display a list of defined items when a user clicks on the navigation title. -
PagingKit
PagingKit provides customizable menu UI. It has more flexible layout and design than the other libraries. -
CategorySliderView
slider view for choosing categories. add any UIView type as category item view. Fully customisable -
RadialMenu
RadialMenu is a custom control for providing a touch context menu (like iMessage recording in iOS 8) built with Swift & POP -
DTPagerController
A fully customizable container view controller to display a set of ViewControllers in a horizontal scroll view. Written in Swift. -
RHSideButtons
Library provides easy to implement variation of Android (Material Design) Floating Action Button for iOS. You can use it as your app small side menu. 🌶
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of AirBar or a related project?
README
UIScrollView driven expandable menu.
Description
AirBar is a library for creating cool expandable menus. Library observes UIScrollView scroll and provides state you can apply to your UI elements.
Demo
Installation
Library supports Carthage dependency manager. To install AirBar add following line to Cartfile in the root folder of your project.
github "uptechteam/AirBar" ~> 2.0
Using CocoaPods add following line to your project Podfile
pod 'AirBar', '~> 2.0'
Using Swift Package Manager
, add the following line to your Package.swift:
dependencies: [
.package(url: "https://github.com/uptechteam/AirBar.git", .exact("2.0.6")),
],
How to use
1) Create BarController
object using BarController(configuration Configuration, stateObserver: StateObserver)
initializer, where Configuration
is struct that contains height config and StateObserver
is closure that will be called on state change.
2) Bind BarController
to your UIScrollView
object using set(scrollView: UIScrollView)
method.
3) Provide UI transformations in closure passed as StateObserver
init argument. Closure will receive State
object that has following public methods:
height()
- returns bar height;transitionProgress()
- returns bar transition progress between 0 and 2, where 0 - compact state, 1 - normal state, 2 - expanded state;value(compactNormalRange: ValueRangeType, normalExpandedRange: ValueRangeType)
- returns transformed CGFloat value that can be used for configuring UIKit element properties.ValueRangeType
is enum with.range(CGFloat, CGFloat)
and.value(CGFloat)
cases. You can use it for example if you need static value1
in normal-expanded transition and range (0, 1) in compact-normal transition.
4) (Optional) Contribute to repository.
Also you can find example application in library project.
Multiple UIScrollView objects
BarController
supports using multiple UIScrollView
objects. You can use preconfigure(scrollView: UIScrollView)
method to configure scrolling view before setting it with set(scrollView: UIScrollView)
method.
TODO
- Implement expansion/concatination resistance;
- ...