Commits

echamberlain committed 2a28781 Merge

Merge branch 'refs/heads/Categories'

Comments (0)

Files changed (32)

src/Three20Core/Headers/TTCorePreprocessorMacros.h

  */
 #define __TTDEPRECATED_METHOD __attribute__((deprecated))
 
+/**
+ * Add this macro to the end of each category addition 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
+
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 // Flags

src/Three20Core/Sources/NSArrayAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(NSArrayAdditions)

src/Three20Core/Sources/NSDataAdditions.m

 }
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(NSDataAdditions)

src/Three20Core/Sources/NSDateAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(NSDateAdditions)

src/Three20Core/Sources/NSMutableArrayAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(NSMutableArrayAdditions)

src/Three20Core/Sources/NSMutableDictionaryAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(NSMutableDictionaryAdditions)

src/Three20Core/Sources/NSObjectAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(NSObjectAdditions)

src/Three20Core/Sources/NSStringAdditions.m

 
 @end
 
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(NSStringAdditions)

src/Three20Style/Sources/TTStyleInternal.m

 
 @end
 
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(TTStyleInternal)
+

src/Three20Style/Sources/TTStyledNodeInternal.m

 
 @end
 
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(TTStyledNodeInternal)
+

src/Three20Style/Sources/UIColorAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UIColorAdditions)

src/Three20Style/Sources/UIFontAdditions.m

 }
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UIFontAdditions)

src/Three20Style/Sources/UIImageAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UIImageAdditions)

src/Three20UI/Sources/TTImageViewInternal.m

 
 
 @end
+
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(TTImageViewInternal)

src/Three20UI/Sources/TTSearchTextFieldInternal.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(TTSearchTextFieldInternal)

src/Three20UI/Sources/TTTabBarInternal.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(TTTabBarInternal)

src/Three20UI/Sources/TTTextEditorInternal.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(TTTextEditorInternal)

src/Three20UI/Sources/UINSObjectAdditions.m

 
 
 @end
+
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UINSObjectAdditions)

src/Three20UI/Sources/UINSStringAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UINSStringAdditions)

src/Three20UI/Sources/UINavigationControllerAdditions.m

 
 
 @end
+
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UINavigationControllerAdditions)

src/Three20UI/Sources/UITabBarControllerAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UITabBarControllerAdditions)

src/Three20UI/Sources/UITableViewAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UITableViewAdditions)

src/Three20UI/Sources/UIToolbarAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UIToolbarAdditions)

src/Three20UI/Sources/UIViewAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UIViewAdditions)

src/Three20UI/Sources/UIWebViewAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UIWebViewAdditions)

src/Three20UICommon/Sources/UIViewControllerAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UIViewControllerAdditions)

src/Three20UICommon/Sources/UIWindowAdditions.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UIWindowAdditions)

src/Three20UINavigator/Sources/TTURLPatternInternal.m

 
 @end
 
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(TTURLPatternInternal)
+

src/Three20UINavigator/Sources/UIViewController+TTNavigator.m

 
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(UIViewController_TTNavigator)

src/extThree20JSON/Vendors/JSON/NSObject+SBJSON.m

 }
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(NSObject_SBJSON)

src/extThree20JSON/Vendors/JSON/NSString+SBJSON.m

 }
 
 @end
+
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(NSString_SBJSON)

src/extThree20JSON/Vendors/YAJL/NSObject+YAJL.m

 }
 
 @end
+
+#import "Three20Core/TTCorePreprocessorMacros.h"
+TT_FIX_CATEGORY_BUG(NSObject_JAJL)