From: Robert Sesek Date: Thu, 22 May 2008 01:45:59 +0000 (-0400) Subject: Making the app 10.4 compatible by disabling garbage collection X-Git-Tag: 2.0~16 X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=ad20dc3a17ceb52f84c4cde2fd6bd3903810e612;p=scrabbalize.git 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 --- 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