Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.
/ ObjCMacros Public archive

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

License

Notifications You must be signed in to change notification settings

mureev/ObjCMacros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ObjCMacros

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published