Permalink
Browse files

Add support to UINavigator for Xcode 3.2.2 to Xcode 3.2.5.

  • Loading branch information...
1 parent a4d2161 commit 46e7443007dd4a48a2d258d0867b1d1c9ff50e0a @jverkoey jverkoey committed Oct 12, 2010
@@ -609,7 +609,6 @@
};
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Three20Core" */;
compatibilityVersion = "Xcode 3.1";
- developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
English,
@@ -1073,6 +1072,8 @@
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SRCROOT)/../Analyzer/Xcode324SimulatorWorkaround.pch";
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
@@ -1140,6 +1141,8 @@
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SRCROOT)/../Analyzer/Xcode324SimulatorWorkaround.pch";
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
@@ -1155,6 +1158,8 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SRCROOT)/../Analyzer/Xcode324SimulatorWorkaround.pch";
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
SDKROOT = iphoneos4.1;
@@ -1251,6 +1251,8 @@
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SRCROOT)/../Analyzer/Xcode324SimulatorWorkaround.pch";
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
@@ -1319,6 +1321,8 @@
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SRCROOT)/../Analyzer/Xcode324SimulatorWorkaround.pch";
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
@@ -1334,6 +1338,8 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SRCROOT)/../Analyzer/Xcode324SimulatorWorkaround.pch";
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
SDKROOT = iphoneos4.1;
@@ -2374,6 +2374,8 @@
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SRCROOT)/../Analyzer/Xcode324SimulatorWorkaround.pch";
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
@@ -2395,6 +2397,8 @@
);
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SRCROOT)/../Analyzer/Xcode324SimulatorWorkaround.pch";
HEADER_SEARCH_PATHS = .;
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
@@ -548,7 +548,6 @@
isa = PBXProject;
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Three20UICommon" */;
compatibilityVersion = "Xcode 3.1";
- developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
English,
@@ -1140,6 +1139,8 @@
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SRCROOT)/../Analyzer/Xcode324SimulatorWorkaround.pch";
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
@@ -1156,6 +1157,8 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SRCROOT)/../Analyzer/Xcode324SimulatorWorkaround.pch";
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
SDKROOT = iphoneos4.1;
@@ -17,5 +17,5 @@
#include "../common/Configurations/Library.xcconfig"
#include "../common/Configurations/Libraries.xcconfig"
-PRODUCT_NAME = Three20UINavigator
+BASE_PRODUCT_NAME = Three20UINavigator
BUILD_LIBRARY_VERSION = 1.0
@@ -17,7 +17,7 @@
#include "../common/Configurations/UnitTests.xcconfig"
#include "../common/Configurations/Libraries.xcconfig"
-PRODUCT_NAME = UINavigatorUnitTests
+BASE_PRODUCT_NAME = UINavigatorUnitTests
BUILD_BUNDLE_VERSION = 1.0
-OTHER_LDFLAGS = $(COMMON_LDFLAGS) $(UIKIT_FX) $(COREGRAPHICS_FX)
+OTHER_LDFLAGS = $(COMMON_LDFLAGS) $(UIKIT_FX)
@@ -44,8 +44,10 @@
static NSString* kNavigatorHistoryTimeKey = @"TTNavigatorHistoryTime";
static NSString* kNavigatorHistoryImportantKey = @"TTNavigatorHistoryImportant";
+#ifdef __IPHONE_4_0
UIKIT_EXTERN NSString *const UIApplicationDidEnterBackgroundNotification __attribute__((weak_import));
UIKIT_EXTERN NSString *const UIApplicationWillEnterForegroundNotification __attribute__((weak_import));
+#endif
///////////////////////////////////////////////////////////////////////////////////////////////////
@@ -74,12 +76,14 @@ - (id)init {
selector:@selector(applicationWillLeaveForeground:)
name:UIApplicationWillTerminateNotification
object:nil];
+#ifdef __IPHONE_4_0
if (nil != &UIApplicationDidEnterBackgroundNotification) {
[center addObserver:self
selector:@selector(applicationWillLeaveForeground:)
name:UIApplicationDidEnterBackgroundNotification
object:nil];
}
+#endif
}
return self;
}
@@ -14,7 +14,7 @@
// limitations under the License.
//
-#import "Three20UINavigator/TTURLArguments.h"
+#import "Three20UINavigator/private/TTURLArguments.h"
#import <objc/runtime.h>
@@ -14,7 +14,7 @@
// limitations under the License.
//
-#import "Three20UINavigator/TTURLLiteral.h"
+#import "Three20UINavigator/private/TTURLLiteral.h"
// Core
#import "Three20Core/TTCorePreprocessorMacros.h"
@@ -17,8 +17,8 @@
#import "Three20UINavigator/TTURLPattern.h"
// UINavigator (Private)
-#import "Three20UINavigator/TTURLWildcard.h"
-#import "Three20UINavigator/TTURLLiteral.h"
+#import "Three20UINavigator/private/TTURLWildcard.h"
+#import "Three20UINavigator/private/TTURLLiteral.h"
// Core
#import "Three20Core/TTCorePreprocessorMacros.h"
@@ -14,7 +14,7 @@
// limitations under the License.
//
-#import "Three20UINavigator/TTURLPatternInternal.h"
+#import "Three20UINavigator/private/TTURLPatternInternal.h"
///////////////////////////////////////////////////////////////////////////////////////////////////
@@ -14,7 +14,7 @@
// limitations under the License.
//
-#import "Three20UINavigator/TTURLSelector.h"
+#import "Three20UINavigator/private/TTURLSelector.h"
// UINavigator (private)
#import "Three20UINavigator/private/TTURLArguments.h"
@@ -14,7 +14,7 @@
// limitations under the License.
//
-#import "Three20UINavigator/TTURLWildcard.h"
+#import "Three20UINavigator/private/TTURLWildcard.h"
// UINavigator (private)
#import "Three20UINavigator/private/TTURLArguments.h"
Oops, something went wrong.

0 comments on commit 46e7443

Please sign in to comment.