Latest 1.0.1
Homepage https://github.com/TeletronicsDotAe/FloatingActionButton
License MIT
Platforms ios 10.0, requires ARC
Dependencies DynamicColor
Authors

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

Features

  • [x] Material design animation
  • [x] easily customizable
  • [x] Objective-C compatible

Usage

You just need implement FloatingActionButtonDataSource and FloatingActionButtonDelegate similar to well-known UIKit design.

let floatingActionButton = FloatingActionButton(frame: floatingFrame)
floatingActionButton.dataSource = self
floatingActionButton.delegate = self

FloatingActionButtonDataSource

  • func numberOfCells(floatingActionButton: FloatingActionButton) -> Int
  • func cellForIndex(index: Int) -> FloatingCell

FloatingActionButtonDelegate

  • optional func dloatingActionButton(floatingActionButton: FloatingActionButton, didSelectItemAtIndex index: Int)

License

FloatingActionButton is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "FloatingActionButton",
    "version": "1.0.1",
    "summary": "Material Design Floating Action Button",
    "description": "Material Design Floating Action Button in liquid state inspired by http://www.materialup.com/posts/material-in-a-liquid-staten  Floating Action Button adapted from LiquidFloatingActionButton from https://github.com/yoavlt/LiquidFloatingActionButton",
    "homepage": "https://github.com/TeletronicsDotAe/FloatingActionButton",
    "license": "MIT",
    "authors": {
        "Martin Jacob Rehder": "[email protected]"
    },
    "source": {
        "git": "https://github.com/TeletronicsDotAe/FloatingActionButton.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "10.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "dependencies": {
        "DynamicColor": [
            "3.2.1"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This