Latest 0.1.0
Homepage https://github.com/makomori/DotsProgress
License MIT
Platforms ios 10.0
Authors

dots_header

CI Status
Version
License
Platform

DotsProgress is the replacement of UIActivityIndicatorView. It provides modern and highly customizable loading indicator. You can call this dots loading view from everywhere in your program with just 2 lines of code.

GIFs

Google color

gif

Pink gradient

gif

Twitter color

gif

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS 10.0 +

Installation

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

pod "DotsProgress"

Usage

In your ViewController, run below.

Show

let loadingView = DotsLoadingView(colors: nil)
self.view.addSubview(loadingView)

Hide

loadingView.stop()

Customization

You can use custom dot colors.

Note: You need to create array which includes four UIColors. If you specify less than or more than 4 colors, the colors of dots will be default.

let dotColors = [UIColor.red, UIColor.blue, UIColor.green, UIColor.yellow]
let loadingView = DotsLoadingView(colors: dotColors)
self.view.addSubview(loadingView)

Author

makomori, [email protected]

License

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

Latest podspec

{
    "name": "DotsProgress",
    "version": "0.1.0",
    "summary": "Modern loading indicator for iOS 10 written in Swift 3.",
    "description": "Modern loading indicator for iOS 10 which allows the app to use Google-like dots animation for loading indicator with just two lines.",
    "homepage": "https://github.com/makomori/DotsProgress",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "makomori": "[email protected]"
    },
    "source": {
        "git": "https://github.com/makomori/DotsProgress.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "DotsProgress/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This