Latest 0.1.0
Homepage https://github.com/manuelmarcos/nsobject-block
License MIT
Platforms ios 7.0
Authors

[![CI Status](http://img.shields.io/travis/Manuel Marcos Regalado/nsobject-block.svg?style=flat)](https://travis-ci.org/Manuel Marcos Regalado/nsobject-block)
Version
License
Platform

Import

#import "NSObject+Block.h"

Usage

// Define delay time in seconds 
static const CGFloat kSecondsDelay = 0.0f;

// ...

[self performBlock:^{
            // Code run after delay
        } afterDelay:kSecondsDelay];

Requirements

Installation

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

pod "nsobject-block"

Author

Manuel Marcos Regalado, [email protected]

License

nsobject-block is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "nsobject-block",
    "version": "0.1.0",
    "summary": "A category of NSObject which has a method to run a block after an NSTimeInterval.",
    "description": "A category of NSObject which has a method to run a block after a defined NSTimeInterval.",
    "homepage": "https://github.com/manuelmarcos/nsobject-block",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Manuel Marcos Regalado": "[email protected]"
    },
    "source": {
        "git": "https://github.com/manuelmarcos/nsobject-block.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/manu_marcos",
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "nsobject-block/Classes/**/*"
}

Pin It on Pinterest

Share This