Making the app 10.4 compatible by disabling garbage collection
authorRobert Sesek <rsesek@bluestatic.org>
Thu, 22 May 2008 01:45:59 +0000 (21:45 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Thu, 22 May 2008 01:45:59 +0000 (21:45 -0400)
* Scrabbalize.xcodeproj: Disable GC and link against 10.4u
* Source/AppController.m:
(-[dealloc]): New method

Scrabbalize.xcodeproj/project.pbxproj
Source/AppController.m

index 29550171b0176aa71b69d01b13f54793cb0e7336..9bbecc3d06fdec23e78e650a7ead3047959c6458 100644 (file)
                        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;
                };
                                );
                                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;
                };
index 65e5af5c4791ac664f6de1e30e0eb29e21441a80..45a9b6a2bda43405bfb9ac445881d56a16024df0 100644 (file)
        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