Latest 0.1.6
Homepage https://github.com/panyibin/YBUtils
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Features

Category for NSTimer, supporting block parameter for OS below iOS 10.

More features coming soon.

Usage

import <YBUtils/NSTimer+Yibin.h>

NSTimer timer1 = [NSTimer yb_timerWithTimeInterval:1 repeats:YES block:^(NSTimer timer) {

}];

NSTimer timer2 = [NSTimer yb_scheduledTimerWithTimeInterval:1 repeats:YES block:^(NSTimer timer) {

}];

Example

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

Requirements

Installation

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

pod 'YBUtils'

Author

panyibin, [email protected]

License

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

Latest podspec

{
    "name": "YBUtils",
    "version": "0.1.6",
    "summary": "Provide supplement functions of iOS basic class.",
    "description": "Provide supplement functions of iOS basic class. Current it will support a NSTimer category, with block support for OS below iOS 10. As from iOS 10, Apple provide its own support. The method name is exactly the same as Apple's own one except for a prefix "yb_".",
    "homepage": "https://github.com/panyibin/YBUtils",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "panyibin": "[email protected]"
    },
    "source": {
        "git": "https://github.com/panyibin/YBUtils.git",
        "tag": "0.1.6"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "YBUtils/Classes/**/*"
}

Pin It on Pinterest

Share This