Latest 0.1.5
Homepage https://github.com/lourenco-marinho/ActionButton
License MIT
Platforms ios 10.0, requires ARC
Authors

![Action Button](Action Button.png)

CocoaPods Compatible

Action button is a Floating Action Button inspired from Google Inbox implemented in Swift

Import

You can use CocoaPods to integrate Action Button in your project.
You can install it with the following command

$ gem install cocoapods

Update your Podfile to use Action Button

pod 'ActionButton'

Then, run the following command

$ pod install

Requirements

  • iOS 8.0+

Usage

Define your actions

let share = ActionButtonItem(title: "share", image: shareImage)
share.action = { item in println("Sharing...") }

let email = ActionButtonItem(title: "email", image: emailImage)
email.action = { item in println("Email...") }

Create a Action Button with your actions

actionButton = ActionButton(attachedToView: view, items: [share, email])
actionButton.action = { button in button.toggleMenu() }

Enjoy

![Action Button](Action Button Sample.gif)

Give it a try

You can try Action Button with CocoaPods

$ pod try ActionButton

Who to blame

More

Action Button is a working in progress so feel free to fork this project and improve it!

License

Action Button is released under the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "ActionButton",
    "version": "0.1.5",
    "summary": "Action button is a Floating Action Button inspired from Google Inbox implemented in Swift",
    "homepage": "https://github.com/lourenco-marinho/ActionButton",
    "license": "MIT",
    "authors": {
        "Lourenu00e7o Marinho": "[email protected]"
    },
    "source": {
        "git": "https://github.com/lourenco-marinho/ActionButton.git",
        "tag": "0.1.5"
    },
    "social_media_url": "https://twitter.com/lopima",
    "platforms": {
        "ios": "10.0"
    },
    "requires_arc": true,
    "source_files": "Source/*.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This