Latest 0.1.1
Homepage https://github.com/kumarpramod017/PKFloatingButton
License MIT
Platforms ios 10.0
Authors

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.

Latest podspec

{
    "name": "PKFloatingButton",
    "version": "0.1.1",
    "summary": "Create a floating button in whole application.",
    "description": "This framework will help you to create a Floating button that will float over the window or specified view!",
    "homepage": "https://github.com/kumarpramod017/PKFloatingButton",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Pramod Kumar": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kumarpramod017/PKFloatingButton.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "PKFloatingButtonDemo/PKFloatingButton/*.swift",
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4"
    }
}

Pin It on Pinterest

Share This