Skip to content
Floating View is a view on top of all views. It can show, move or hide anytime. Floating UI could be customized. 类似微信的浮动按钮,可以任意改变形状
Swift Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
Images
Sources
.gitignore
LICENSE
README.md
SwiftyFloatingView.podspec

README.md

SwiftyFloatingView

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:UIButton.ButtonType.system)
        normalButton.frame = CGRect(x: 0, y: 0, width: 100, height: 100)
        var floatingView = SwiftyFloatingView(with: normalButton)

Requirements

  • Swift 4.2
  • iOS 8.0+

Contact & Contribute

  • Feel free to contact me with ideas or suggestions at swiftykit@gmail.com
  • Fork the project and make your own changes

License

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

You can’t perform that action at this time.