PKFloatingButton 0.1.1

PKFloatingButton 0.1.1

Maintained by Pramod Kumar.



  • By
  • Pramod Kumar

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.