Latest 1.1.0
Homepage https://github.com/mureev/ObjCMacros
License MIT
Platforms ios 5.0
Authors ,

Badge w/ Version
Badge w/ Platform

ObjCMacros is set of macros and constants that speed up development without adding any new classes and categories.

Example Usage

Working with RGB colors

[UIColor colorWithRed:RGB(102) green:RGB(51) blue:RGB(53) alpha:1];

Using NSLocalizedString

NSLS(@"UNIQUE_KEY");

Is populated string?

if (IS_POPULATED_STRING(str)) {
        // statements-if-true
} else {
        // statements-if-false
}

Asserts / Exceptions

- (void)methodName {
    THROW_NOT_IMPLEMENTED_EXCEPTION
}

And even more!

ObjCMacros.h contains so many to choose from!

License

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

Latest podspec

{
    "name": "ObjCMacros",
    "version": "1.1.0",
    "license": "MIT",
    "summary": "Set of macros and constants that speed up development without adding any new classes and categories.",
    "homepage": "https://github.com/mureev/ObjCMacros",
    "authors": {
        "Constantine Mureev": "[email protected]",
        "Artem Samalov": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mureev/ObjCMacros.git",
        "tag": "v1.1.0"
    },
    "requires_arc": false,
    "source_files": "ObjCMacros/*.{h,m}",
    "platforms": {
        "ios": "5.0"
    }
}

Pin It on Pinterest

Share This