Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // first define the macro below in .PCH file of your project
- #define MAKE_CATEGORIES_LOADABLE(UNIQUE_NAME) @interface FORCELOAD_##UNIQUE_NAME : NSObject @end @implementation FORCELOAD_##UNIQUE_NAME @end
- // call definited macro in you .m category files, out the implementation.
- MAKE_CATEGORIES_LOADABLE(MY_UNIQUE_NAME)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement