Skip to content

This framework will help you to create a Floating button that will float over the window or specified view!

License

Notifications You must be signed in to change notification settings

bestiosdeveloper/PKFloatingButton

Repository files navigation

PKFloatingButton

CocoaPods codebeat badge

Floating button that will float over the window or specified view

preview

Requirements

  • iOS 8.0+
  • Xcode 9.2

Installation

For manual instalation, drag Source folder into your project.

os use CocoaPod adding this line to you Podfile:

pod 'PKFloatingButton'

Usage

For Enable Floating

  1. Just call enableFloating() method with shared instance of PKFloatingButton

Example:

PKFloatingButton.shared.enableFloating(onView: self.view, viewToExpand: nil, withImage: #imageLiteral(resourceName: "help_white"), onTapHandler: nil)

For Disable Floating

  1. Just call disableFloating() method with shared instance of PKFloatingButton

Example:

PKFloatingButton.shared.disableFloating()

Licence

PKFloatingButton is released under the MIT license.

About

This framework will help you to create a Floating button that will float over the window or specified view!

Resources

License

Stars

Watchers

Forks

Packages

No packages published