Giter Site home page Giter Site logo

arunk001 / kdloadingview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kaiquedamato/kdloadingview

0.0 1.0 0.0 52 KB

A beautiful loading indicator. Written in Swift.

License: MIT License

Swift 64.82% Ruby 3.13% Objective-C 5.84% Shell 26.21%

kdloadingview's Introduction

KDLoadingView

Swift 3.0 Platforms iOS Xcode 8.0+ pod v1.0.0

A beautiful loading indicator inspired by material design. ๐Ÿค˜๐Ÿป

Demo

alt tag

Usage

There are a few properties you may change:

Property Description Type Default Value
firstColor The initial color of the loading UIColor UIColor.black
secondColor The second color of the loading UIColor nil
thirdColor The third color of the loading UIColor nil
duration The duration of the loading animation CGFloat 3
lineWidth The width of the line CGFloat 1
hidesWhenStopped Indicates if the loading must be hidden when the animation stops Bool false

All properties are IBInspectable so you can just drag and drop a new view, change the class and make all the configurations that you need in the Storyboard.

I wish you a funny and happy coding. ๐Ÿš€

obs: you can set up to three colors in the loading but feel free to set just one or two if you like. ๐Ÿ˜„

Author

Kaique Pantosi D'amato, [email protected]. ๐Ÿค“

License

KDLoadingView is available under the MIT license. See the License file for more info.

kdloadingview's People

Contributors

emannueloc avatar

Watchers

 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.