Latest 0.1.0
Homepage https://github.com/nero-tang/OverwatchLoadingView
License MIT
Platforms ios 8.0
Authors

Version
License
Platform

Overwatching loading indicator written in Swift. This project is inspired by OverWatchLoading.

Installation

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

pod "OverwatchLoadingView"

Example

image

Usage

class ViewController: UIViewController {

    let loadingView = OverwatchLoadingView()

    override func viewDidLoad() {
        super.viewDidLoad()

        view.addSubview(loadingView)

        // Custom configuration
        loadingView.animateInterval = 2
        loadingView.hidesWhenStopped = true
        loadingView.color = .red

        // Setup autolayout constraints as you wish
        ...
    }

    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)

        // Start animating
        loadingView.startAnimating()
    }

    override func viewWillDisappear(_ animated: Bool) {
        super.viewWillDisappear(animated)

        // Stop animating
        loadView.stopAnimating()
    }
}

License

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

Latest podspec

{
    "name": "OverwatchLoadingView",
    "version": "0.1.0",
    "summary": "Overwatch loading indicator in Swift",
    "description": "This project is an implementation of the Overwatch matchmaking loading indicator on iOS.nnOverwatch is a registered trademark of Blizzard Entertainment, Inc.nThis project is in no way affiliated or endorsed by Blizzard Entertainment, Inc.",
    "homepage": "https://github.com/nero-tang/OverwatchLoadingView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Archangel": "[email protected]"
    },
    "source": {
        "git": "https://github.com/nero-tang/OverwatchLoadingView.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "OverwatchLoadingView/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This