![Action Button](Action Button.png)
Action button is a Floating Action Button inspired from Google Inbox implemented in Swift
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
- iOS 8.0+
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...") }
actionButton = ActionButton(attachedToView: view, items: [share, email])
actionButton.action = { button in button.toggleMenu() }
![Action Button](Action Button Sample.gif)
You can try Action Button with CocoaPods
$ pod try ActionButton
Action Button is a working in progress so feel free to fork this project and improve it!
Action Button is released under the MIT license. See LICENSE for details.