FloatingActionButton is floating action button component of material design, inspired by Material In a Liquid State. Adapted from (https://github.com/yoavlt/LiquidFloatingActionButton) by Takuma Yoshida
- Material design animation
- easily customizable
- Objective-C compatible
You just need implement FloatingActionButtonDataSource
and FloatingActionButtonDelegate
similar to well-known UIKit design.
let floatingActionButton = FloatingActionButton(frame: floatingFrame)
floatingActionButton.dataSource = self
floatingActionButton.delegate = self
- func numberOfCells(floatingActionButton: FloatingActionButton) -> Int
- func cellForIndex(index: Int) -> FloatingCell
- optional func dloatingActionButton(floatingActionButton: FloatingActionButton, didSelectItemAtIndex index: Int)
FloatingActionButton is available under the MIT license. See the LICENSE file for more info.