Latest 0.1.1
Homepage https://github.com/SwiftyKit/SwiftyFloatingView
License MIT
Platforms ios 8.0
Authors

License
Language

Overview

SwiftyFloatingView is a view on top of all views. you can have navigation controller, Tabbar contoller or anything. it goes on top of everyview and will be presented everywhere.

enter image description here

Installation

CocoaPods

SwiftyFloatingView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SwiftyFloatingView'

Manual

Drag ‘n drop SwiftyFloatingView.swift into your project.

Usage

        let normalButton:UIButton = UIButton(type: UIButtonType.system)
        normalButton.backgroundColor = .red
        normalButton.frame = CGRect(x: 0, y: 0, width: 100, height: 100)
        normalButton.layer.cornerRadius = 50
        normalButton.addTarget(self, action: #selector(ViewController.printer), for: .touchUpInside)
        var floatingView = SwiftyFloatingView(with: normalButton)

Requirements

  • Swift 3.0+
  • iOS 8.0+

Contact & Contribute

  • Feel free to contact me with ideas or suggestions at [email protected]
  • Fork the project and make your own changes

License

SwiftyFloatingView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SwiftyFloatingView",
    "version": "0.1.1",
    "summary": "SwiftyFloatingView is a view on top of all views. It can show, move or hide anytime. And It's UI could be customized.",
    "description": "SwiftyFloatingView is a view on top of all views. It can show, move or hide anytime. And It's UI could be customized. A floating View for iOS.",
    "homepage": "https://github.com/SwiftyKit/SwiftyFloatingView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "SwiftyKit": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "3.2",
    "source": {
        "git": "https://github.com/SwiftyKit/SwiftyFloatingView.git",
        "tag": "0.1.1"
    },
    "source_files": [
        "Sources/*.swift",
        "Sources/SwiftyFloatingView.h",
        "Sources/SwiftyFloatingView.swift"
    ],
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This