2010-11-17 62 views

回答

2
/* 
* Add this macro before each category implementation, so we don't have to use 
* -all_load or -force_load to load object files from static libraries that only contain 
* categories and no classes. 
* See http://developer.apple.com/library/mac/#qa/qa2006/qa1490.html for more info. 
*/ 

#define TT_FIX_CATEGORY_BUG(name) @interface TT_FIX_CATEGORY_BUG_##name @end \ 
            @implementation TT_FIX_CATEGORY_BUG_##name @end 

从three20的TTCorePreprocessorMacros.h

+0

非常有用,THX了很多复制! – 2011-08-17 05:27:59

相关问题