From ad20dc3a17ceb52f84c4cde2fd6bd3903810e612 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 21 May 2008 21:45:59 -0400 Subject: [PATCH] Making the app 10.4 compatible by disabling garbage collection * Scrabbalize.xcodeproj: Disable GC and link against 10.4u * Source/AppController.m: (-[dealloc]): New method --- Scrabbalize.xcodeproj/project.pbxproj | 6 ++---- Source/AppController.m | 9 +++++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Scrabbalize.xcodeproj/project.pbxproj b/Scrabbalize.xcodeproj/project.pbxproj index 2955017..9bbecc3 100644 --- a/Scrabbalize.xcodeproj/project.pbxproj +++ b/Scrabbalize.xcodeproj/project.pbxproj @@ -271,11 +271,10 @@ isa = XCBuildConfiguration; buildSettings = { GCC_C_LANGUAGE_STANDARD = c99; - GCC_ENABLE_OBJC_GC = supported; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; PREBINDING = NO; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk"; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk"; }; name = Debug; }; @@ -288,12 +287,11 @@ ); DEAD_CODE_STRIPPING = YES; GCC_C_LANGUAGE_STANDARD = c99; - GCC_ENABLE_OBJC_GC = supported; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; PREBINDING = NO; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk"; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk"; }; name = Release; }; diff --git a/Source/AppController.m b/Source/AppController.m index 65e5af5..45a9b6a 100644 --- a/Source/AppController.m +++ b/Source/AppController.m @@ -43,6 +43,15 @@ return self; } +/** + * Destructor + */ +- (void)dealloc +{ + [dictionary release]; + [super dealloc]; +} + /** * Action that filters through all the words with the given tiles and then produces * the list -- 2.43.5