SwiftyKit / SwiftyFloatingView

Floating View is a view on top of all views. It can show, move or hide anytime. Floating UI could be customized. 类似微信的浮动按钮,可以任意改变形状

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Floating View is a view on top of all views. It can show, move or hide anytime. Floating UI could be customized. 类似微信的浮动按钮,可以任意改变形状

License:MIT License


Languages

Language:Swift 60.4%Language:Ruby 39.6%