Advertisement
priore

Make Categories Loadable

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