Latest 1.1.0
Homepage https://github.com/iltercengiz/Overwatch
License MIT
Platforms ios 9.0
Authors

[![CI Status](http://img.shields.io/travis/Ilter Cengiz/Overwatch.svg?style=flat)](https://travis-ci.org/Ilter Cengiz/Overwatch)
Version
License
Platform

Example

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

Usage

Overwatch is a singleton object on its own and provides two class methods to start and stop a timer.

To start a timer:

Overwatch.start(withName: "com.example.Overwatch.asyncTask")

and to stop a timer after a long running task:

Overwatch.stop(withName: "com.example.Overwatch.asyncTask")

Also stop method returns a TimeInterval value to let the caller know about the duration that has passed.

Installation

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

pod 'Overwatch', :configurations => ['Debug']

It’s advised to add Overwatch to only Debug configuration.

Author

Ilter Cengiz, [email protected]

License

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

Latest podspec

{
    "name": "Overwatch",
    "version": "1.1.0",
    "summary": "Easily measure how long a task takes.",
    "description": "Stopwatch provides simple methods to start a timer and stop it. Using the description provided when starting a timer prints out the duration when stopped.",
    "homepage": "https://github.com/iltercengiz/Overwatch",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Ilter Cengiz": "[email protected]"
    },
    "source": {
        "git": "https://github.com/iltercengiz/Overwatch.git",
        "tag": "1.1.0"
    },
    "social_media_url": "https://twitter.com/iltercengiz",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Overwatch/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This