Latest 1.2.0
Homepage https://github.com/yoavlt/LiquidFloatingActionButton
License MIT
Platforms ios 8.0, requires ARC
Authors

CI Status
Version
License
Platform
[Carthage compatible]
(https://github.com/Carthage/Carthage)

LiquidFloatingActionButton is floating action button component of material design in liquid state, inspired by Material In a Liquid State.
This is also spinner loader components in liquid state.

Demo

Features

  • [x] liquid animation
  • [x] easily customizable
  • [x] Objective-C compatible
  • [x] Swift2.0

You can play a demo with appetize.io

Usage

You just need implement LiquidFloatingActionButtonDataSource and LiquidFloatingActionButtonDelegate similar to well-known UIKit design.

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

Installation

LiquidFloatingActionButton is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "LiquidFloatingActionButton"

or, if you use 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.

Latest podspec

{
    "name": "LiquidFloatingActionButton",
    "version": "1.2.0",
    "summary": "Material Design Floating Action Button in liquid state",
    "description": "Material Design Floating Action Button in liquid state inspired by http://www.materialup.com/posts/material-in-a-liquid-state",
    "homepage": "https://github.com/yoavlt/LiquidFloatingActionButton",
    "license": "MIT",
    "authors": {
        "Takuma Yoshida": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yoavlt/LiquidFloatingActionButton.git",
        "tag": "1.2.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*"
}

Pin It on Pinterest

Share This