Latest 1.1
Homepage https://github.com/ivanshevelev/HRMethodsAttributes
License MIT
Platforms ios 7.0, requires ARC
Authors

Version
License
Platform

HRMethodsAttributes is a simple defines wrapper on __attribute__(()).

Usage

Deprecated:

-(void)doSomething DEPRECATED;

Deprecated with reason:

-(void)makeMeCool DEPRECATED_REASON("'cause, lol");

Unavailable:

-(void)dSomething UNAVAILABLE;

Unavailable with reason:

-(void)doSomethingElse UNAVAILABLE_REASON("Old method. Use -doSmthngElse: instead");

Requirements

Objective-C and iOS 7.1 or higher.

Installation

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

pod 'HRMethodsAttributes'

Author

Ivan Shevelev, [email protected]

License

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

Latest podspec

{
    "name": "HRMethodsAttributes",
    "version": "1.1",
    "summary": "Simple attribute defines for 'deprecated' and 'unavailable'.",
    "description": "Simple attribute defines for 'deprecated' and 'unavailable'. Just write DEPRECATED(or another define)(instead of ugly __attribute__((blah-blah-blah)) after method's declaration to make it deprecated.",
    "homepage": "https://github.com/ivanshevelev/HRMethodsAttributes",
    "license": "MIT",
    "authors": {
        "Ivan Shevelev": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ivanshevelev/HRMethodsAttributes.git",
        "tag": "1.1"
    },
    "social_media_url": "https://twitter.com/antsy_ivan",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "HRMethodsAttributes": [
            "Pod/Assets/*.png"
        ]
    },
    "public_header_files": "Pod/Classes/**/*.h"
}

Pin It on Pinterest

Share This