Coder Social home page Coder Social logo

nspavlo / materialactivityindicator Goto Github PK

View Code? Open in Web Editor NEW
117.0 4.0 18.0 98 KB

Material Activity Indicator

License: MIT License

Swift 89.97% Ruby 10.03%
cocoapods xcode swift activityindicator loader material-design spinner swiftpm swiftpackagemanager

materialactivityindicator's Introduction

MaterialActivityIndicator

CI Status Version License Platform

MaterialActivityIndicatorView is a drop in replacement for UIActivityIndicatorView

Example

Material activity indicator in Swift
To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

This pod requires a deployment target of iOS 9.3 or greater

Installation

Swift Package Manager

  • File > Swift Packages > Add Package Dependency
  • Add https://github.com/nspavlo/MaterialActivityIndicator

CocoaPods

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

pod 'MaterialActivityIndicator'

Usage

let indicator = MaterialActivityIndicatorView()
indicator.startAnimating()

Author

@JansPavlovs ๐Ÿ‘จโ€๐Ÿ’ป

License

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

materialactivityindicator's People

Contributors

codacy-badger avatar nspavlo avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

materialactivityindicator's Issues

Not showing on my view.

any idea why it isn't visible on top of my tableview?

I'm having a uitaleview with constraints on superview and spinner is not visible

Swift 4.2 update

CAMediaTimingFunction(name: .easeInEaseOut) change to CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)

Wait for animations to complete

Would be nice if the ActivityIndicator waited for the spin animation to complete its cycle before it gets removed on stopAnimating() call.

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.