# LiquidFloatingActionButton **Repository Path**: mirrors_rjyo/LiquidFloatingActionButton ## Basic Information - **Project Name**: LiquidFloatingActionButton - **Description**: Material Design Floating Action Button in liquid state - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-12 - **Last Updated**: 2026-10-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LiquidFloatingActionButton [![CI Status](http://img.shields.io/travis/yoavlt/LiquidFloatingActionButton.svg?style=flat)](https://travis-ci.org/yoavlt/LiquidFloatingActionButton) [![Version](https://img.shields.io/cocoapods/v/LiquidFloatingActionButton.svg?style=flat)](http://cocoapods.org/pods/LiquidFloatingActionButton) [![License](https://img.shields.io/cocoapods/l/LiquidFloatingActionButton.svg?style=flat)](http://cocoapods.org/pods/LiquidFloatingActionButton) [![Platform](https://img.shields.io/cocoapods/p/LiquidFloatingActionButton.svg?style=flat)](http://cocoapods.org/pods/LiquidFloatingActionButton) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)] (https://github.com/Carthage/Carthage) LiquidFloatingActionButton is floating action button component of [material design](https://www.google.com/design/spec/material-design/introduction.html) in liquid state, inspired by [Material In a Liquid State](http://www.materialup.com/posts/material-in-a-liquid-state). This is also [spinner loader](https://github.com/yoavlt/LiquidLoader) components in liquid state. ![Demo](https://github.com/yoavlt/LiquidFloatingActionButton/blob/master/Demo/top.gif?raw=true) ## Features - [x] liquid animation - [x] easily custoizable - [x] Objective-C compatible - [x] Swift2.0 You can play a demo with [appetize.io](https://appetize.io/app/f4t42hgqbnbma4m12jcg3aeebg?device=iphone5s&scale=75&orientation=portrait) ## Usage You just need implement `LiquidFloatingActionButtonDataSource` and `LiquidFloatingActionButtonDelegate` similar to well-known UIKit design. ```swift let floatingActionButton = LiquidFloatingActionButton(frame: floatingFrame) floatingActionButton.dataSource = self floatingActionButton.delegate = self ``` ### LiquidFloatingActionButtonDataSource * func numberOfCells(liquidFloatingActionButton: LiquidFloatingActionButton) -> Int * func cellForIndex(index: Int) -> LiquidFloatingCell ### LiquidFloatingActionButtonDelegate * optional func liquidFloatingActionButton(liquidFloatingActionButton: LiquidFloatingActionButton, didSelectItemAtIndex index: Int) ## Easily customizable ![Demo](https://github.com/yoavlt/LiquidFloatingActionButton/blob/master/Demo/customizable.gif?raw=true) ## Installation LiquidFloatingActionButton is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile: ```ruby pod "LiquidFloatingActionButton" ``` or, if you use [Carthage](https://github.com/Carthage/Carthage), add the following line to your `Carthage` file. ``` github "yoavlt/LiquidFloatingActionButton" ``` Please use `swift-2.0` branch if you adopt latest Xcode. ## License LiquidFloatingActionButton is available under the MIT license. See the LICENSE file for more info.