GithubHelp home page GithubHelp logo

swiftykit / swiftyfloatingview Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 4.0 846 KB

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

Swift 60.41% Ruby 39.59%
swift floating cocoapods floating-button

swiftyfloatingview's Introduction

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 [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.

swiftyfloatingview's People

Contributors

swiftykit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.