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. 类似微信的浮动按钮,可以任意改变形状

License

Notifications You must be signed in to change notification settings

SwiftyKit/SwiftyFloatingView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. 类似微信的浮动按钮,可以任意改变形状

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published