diff --git a/iDNA.xcodeproj/project.pbxproj b/iDNA.xcodeproj/project.pbxproj new file mode 100644 index 0000000..fb5a3fb --- /dev/null +++ b/iDNA.xcodeproj/project.pbxproj @@ -0,0 +1,472 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 6371230C169C67AC008678A2 /* Cell.m in Sources */ = {isa = PBXBuildFile; fileRef = 6371230B169C67AC008678A2 /* Cell.m */; }; + 6373D4FD1689E47B00EE7CDA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6373D4FC1689E47B00EE7CDA /* Cocoa.framework */; }; + 6373D5071689E47B00EE7CDA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6373D5051689E47B00EE7CDA /* InfoPlist.strings */; }; + 6373D5091689E47B00EE7CDA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6373D5081689E47B00EE7CDA /* main.m */; }; + 6373D50D1689E47B00EE7CDA /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 6373D50B1689E47B00EE7CDA /* Credits.rtf */; }; + 6373D5101689E47B00EE7CDA /* Document.m in Sources */ = {isa = PBXBuildFile; fileRef = 6373D50F1689E47B00EE7CDA /* Document.m */; }; + 6373D5131689E47B00EE7CDA /* Document.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6373D5111689E47B00EE7CDA /* Document.xib */; }; + 6373D5161689E47C00EE7CDA /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6373D5141689E47C00EE7CDA /* MainMenu.xib */; }; + 6373D51E1689E47C00EE7CDA /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6373D51D1689E47C00EE7CDA /* SenTestingKit.framework */; }; + 6373D51F1689E47C00EE7CDA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6373D4FC1689E47B00EE7CDA /* Cocoa.framework */; }; + 6373D5271689E47C00EE7CDA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6373D5251689E47C00EE7CDA /* InfoPlist.strings */; }; + 6373D52A1689E47C00EE7CDA /* iDNATests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6373D5291689E47C00EE7CDA /* iDNATests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 6373D5201689E47C00EE7CDA /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 6373D4EF1689E47B00EE7CDA /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6373D4F71689E47B00EE7CDA; + remoteInfo = iDNA; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 6371230A169C67AC008678A2 /* Cell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Cell.h; sourceTree = ""; }; + 6371230B169C67AC008678A2 /* Cell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Cell.m; sourceTree = ""; }; + 6373D4F81689E47B00EE7CDA /* iDNA.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iDNA.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 6373D4FC1689E47B00EE7CDA /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; + 6373D4FF1689E47B00EE7CDA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; + 6373D5001689E47B00EE7CDA /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; + 6373D5011689E47B00EE7CDA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 6373D5041689E47B00EE7CDA /* iDNA-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iDNA-Info.plist"; sourceTree = ""; }; + 6373D5061689E47B00EE7CDA /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 6373D5081689E47B00EE7CDA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 6373D50A1689E47B00EE7CDA /* iDNA-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iDNA-Prefix.pch"; sourceTree = ""; }; + 6373D50C1689E47B00EE7CDA /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = ""; }; + 6373D50E1689E47B00EE7CDA /* Document.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Document.h; sourceTree = ""; }; + 6373D50F1689E47B00EE7CDA /* Document.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Document.m; sourceTree = ""; }; + 6373D5121689E47B00EE7CDA /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/Document.xib; sourceTree = ""; }; + 6373D5151689E47C00EE7CDA /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = ""; }; + 6373D51C1689E47C00EE7CDA /* iDNATests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iDNATests.octest; sourceTree = BUILT_PRODUCTS_DIR; }; + 6373D51D1689E47C00EE7CDA /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; + 6373D5241689E47C00EE7CDA /* iDNATests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iDNATests-Info.plist"; sourceTree = ""; }; + 6373D5261689E47C00EE7CDA /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 6373D5281689E47C00EE7CDA /* iDNATests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = iDNATests.h; sourceTree = ""; }; + 6373D5291689E47C00EE7CDA /* iDNATests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iDNATests.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 6373D4F51689E47B00EE7CDA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 6373D4FD1689E47B00EE7CDA /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6373D5181689E47C00EE7CDA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 6373D51E1689E47C00EE7CDA /* SenTestingKit.framework in Frameworks */, + 6373D51F1689E47C00EE7CDA /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 6373D4ED1689E47B00EE7CDA = { + isa = PBXGroup; + children = ( + 6373D5021689E47B00EE7CDA /* iDNA */, + 6373D5221689E47C00EE7CDA /* iDNATests */, + 6373D4FB1689E47B00EE7CDA /* Frameworks */, + 6373D4F91689E47B00EE7CDA /* Products */, + ); + sourceTree = ""; + }; + 6373D4F91689E47B00EE7CDA /* Products */ = { + isa = PBXGroup; + children = ( + 6373D4F81689E47B00EE7CDA /* iDNA.app */, + 6373D51C1689E47C00EE7CDA /* iDNATests.octest */, + ); + name = Products; + sourceTree = ""; + }; + 6373D4FB1689E47B00EE7CDA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 6373D4FC1689E47B00EE7CDA /* Cocoa.framework */, + 6373D51D1689E47C00EE7CDA /* SenTestingKit.framework */, + 6373D4FE1689E47B00EE7CDA /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; + 6373D4FE1689E47B00EE7CDA /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 6373D4FF1689E47B00EE7CDA /* AppKit.framework */, + 6373D5001689E47B00EE7CDA /* CoreData.framework */, + 6373D5011689E47B00EE7CDA /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + 6373D5021689E47B00EE7CDA /* iDNA */ = { + isa = PBXGroup; + children = ( + 6373D50E1689E47B00EE7CDA /* Document.h */, + 6371230A169C67AC008678A2 /* Cell.h */, + 6371230B169C67AC008678A2 /* Cell.m */, + 6373D50F1689E47B00EE7CDA /* Document.m */, + 6373D5111689E47B00EE7CDA /* Document.xib */, + 6373D5141689E47C00EE7CDA /* MainMenu.xib */, + 6373D5031689E47B00EE7CDA /* Supporting Files */, + ); + path = iDNA; + sourceTree = ""; + }; + 6373D5031689E47B00EE7CDA /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 6373D5041689E47B00EE7CDA /* iDNA-Info.plist */, + 6373D5051689E47B00EE7CDA /* InfoPlist.strings */, + 6373D5081689E47B00EE7CDA /* main.m */, + 6373D50A1689E47B00EE7CDA /* iDNA-Prefix.pch */, + 6373D50B1689E47B00EE7CDA /* Credits.rtf */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 6373D5221689E47C00EE7CDA /* iDNATests */ = { + isa = PBXGroup; + children = ( + 6373D5281689E47C00EE7CDA /* iDNATests.h */, + 6373D5291689E47C00EE7CDA /* iDNATests.m */, + 6373D5231689E47C00EE7CDA /* Supporting Files */, + ); + path = iDNATests; + sourceTree = ""; + }; + 6373D5231689E47C00EE7CDA /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 6373D5241689E47C00EE7CDA /* iDNATests-Info.plist */, + 6373D5251689E47C00EE7CDA /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 6373D4F71689E47B00EE7CDA /* iDNA */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6373D52D1689E47C00EE7CDA /* Build configuration list for PBXNativeTarget "iDNA" */; + buildPhases = ( + 6373D4F41689E47B00EE7CDA /* Sources */, + 6373D4F51689E47B00EE7CDA /* Frameworks */, + 6373D4F61689E47B00EE7CDA /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = iDNA; + productName = iDNA; + productReference = 6373D4F81689E47B00EE7CDA /* iDNA.app */; + productType = "com.apple.product-type.application"; + }; + 6373D51B1689E47C00EE7CDA /* iDNATests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6373D5301689E47C00EE7CDA /* Build configuration list for PBXNativeTarget "iDNATests" */; + buildPhases = ( + 6373D5171689E47C00EE7CDA /* Sources */, + 6373D5181689E47C00EE7CDA /* Frameworks */, + 6373D5191689E47C00EE7CDA /* Resources */, + 6373D51A1689E47C00EE7CDA /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + 6373D5211689E47C00EE7CDA /* PBXTargetDependency */, + ); + name = iDNATests; + productName = iDNATests; + productReference = 6373D51C1689E47C00EE7CDA /* iDNATests.octest */; + productType = "com.apple.product-type.bundle"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 6373D4EF1689E47B00EE7CDA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0420; + }; + buildConfigurationList = 6373D4F21689E47B00EE7CDA /* Build configuration list for PBXProject "iDNA" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 6373D4ED1689E47B00EE7CDA; + productRefGroup = 6373D4F91689E47B00EE7CDA /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 6373D4F71689E47B00EE7CDA /* iDNA */, + 6373D51B1689E47C00EE7CDA /* iDNATests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 6373D4F61689E47B00EE7CDA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6373D5071689E47B00EE7CDA /* InfoPlist.strings in Resources */, + 6373D50D1689E47B00EE7CDA /* Credits.rtf in Resources */, + 6373D5131689E47B00EE7CDA /* Document.xib in Resources */, + 6373D5161689E47C00EE7CDA /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6373D5191689E47C00EE7CDA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6373D5271689E47C00EE7CDA /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 6373D51A1689E47C00EE7CDA /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 6373D4F41689E47B00EE7CDA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6373D5091689E47B00EE7CDA /* main.m in Sources */, + 6373D5101689E47B00EE7CDA /* Document.m in Sources */, + 6371230C169C67AC008678A2 /* Cell.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6373D5171689E47C00EE7CDA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6373D52A1689E47C00EE7CDA /* iDNATests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 6373D5211689E47C00EE7CDA /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 6373D4F71689E47B00EE7CDA /* iDNA */; + targetProxy = 6373D5201689E47C00EE7CDA /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 6373D5051689E47B00EE7CDA /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 6373D5061689E47B00EE7CDA /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 6373D50B1689E47B00EE7CDA /* Credits.rtf */ = { + isa = PBXVariantGroup; + children = ( + 6373D50C1689E47B00EE7CDA /* en */, + ); + name = Credits.rtf; + sourceTree = ""; + }; + 6373D5111689E47B00EE7CDA /* Document.xib */ = { + isa = PBXVariantGroup; + children = ( + 6373D5121689E47B00EE7CDA /* en */, + ); + name = Document.xib; + sourceTree = ""; + }; + 6373D5141689E47C00EE7CDA /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 6373D5151689E47C00EE7CDA /* en */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; + 6373D5251689E47C00EE7CDA /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 6373D5261689E47C00EE7CDA /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 6373D52B1689E47C00EE7CDA /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.6; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + 6373D52C1689E47C00EE7CDA /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.6; + SDKROOT = macosx; + }; + name = Release; + }; + 6373D52E1689E47C00EE7CDA /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iDNA/iDNA-Prefix.pch"; + INFOPLIST_FILE = "iDNA/iDNA-Info.plist"; + ONLY_ACTIVE_ARCH = NO; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 6373D52F1689E47C00EE7CDA /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iDNA/iDNA-Prefix.pch"; + INFOPLIST_FILE = "iDNA/iDNA-Info.plist"; + ONLY_ACTIVE_ARCH = NO; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + 6373D5311689E47C00EE7CDA /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iDNA.app/Contents/MacOS/iDNA"; + FRAMEWORK_SEARCH_PATHS = "$(DEVELOPER_LIBRARY_DIR)/Frameworks"; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iDNA/iDNA-Prefix.pch"; + INFOPLIST_FILE = "iDNATests/iDNATests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Debug; + }; + 6373D5321689E47C00EE7CDA /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/iDNA.app/Contents/MacOS/iDNA"; + FRAMEWORK_SEARCH_PATHS = "$(DEVELOPER_LIBRARY_DIR)/Frameworks"; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "iDNA/iDNA-Prefix.pch"; + INFOPLIST_FILE = "iDNATests/iDNATests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 6373D4F21689E47B00EE7CDA /* Build configuration list for PBXProject "iDNA" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6373D52B1689E47C00EE7CDA /* Debug */, + 6373D52C1689E47C00EE7CDA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6373D52D1689E47C00EE7CDA /* Build configuration list for PBXNativeTarget "iDNA" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6373D52E1689E47C00EE7CDA /* Debug */, + 6373D52F1689E47C00EE7CDA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6373D5301689E47C00EE7CDA /* Build configuration list for PBXNativeTarget "iDNATests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6373D5311689E47C00EE7CDA /* Debug */, + 6373D5321689E47C00EE7CDA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 6373D4EF1689E47B00EE7CDA /* Project object */; +} diff --git a/iDNA.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/iDNA.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..2d38afe --- /dev/null +++ b/iDNA.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/iDNA.xcodeproj/project.xcworkspace/xcuserdata/macuser.xcuserdatad/UserInterfaceState.xcuserstate b/iDNA.xcodeproj/project.xcworkspace/xcuserdata/macuser.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..f4b23af Binary files /dev/null and b/iDNA.xcodeproj/project.xcworkspace/xcuserdata/macuser.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/iDNA.xcodeproj/xcuserdata/macuser.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist b/iDNA.xcodeproj/xcuserdata/macuser.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist new file mode 100644 index 0000000..05301bc --- /dev/null +++ b/iDNA.xcodeproj/xcuserdata/macuser.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist @@ -0,0 +1,5 @@ + + + diff --git a/iDNA.xcodeproj/xcuserdata/macuser.xcuserdatad/xcschemes/iDNA.xcscheme b/iDNA.xcodeproj/xcuserdata/macuser.xcuserdatad/xcschemes/iDNA.xcscheme new file mode 100644 index 0000000..43c2b76 --- /dev/null +++ b/iDNA.xcodeproj/xcuserdata/macuser.xcuserdatad/xcschemes/iDNA.xcscheme @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iDNA.xcodeproj/xcuserdata/macuser.xcuserdatad/xcschemes/xcschememanagement.plist b/iDNA.xcodeproj/xcuserdata/macuser.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..6f4afd9 --- /dev/null +++ b/iDNA.xcodeproj/xcuserdata/macuser.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,27 @@ + + + + + SchemeUserState + + iDNA.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 6373D4F71689E47B00EE7CDA + + primary + + + 6373D51B1689E47C00EE7CDA + + primary + + + + + diff --git a/iDNA/Cell.h b/iDNA/Cell.h new file mode 100644 index 0000000..7902d2a --- /dev/null +++ b/iDNA/Cell.h @@ -0,0 +1,27 @@ +// +// Cell.h +// DNA +// +// Created by D_Unknown on 11/6/12. +// Copyright (c) 2012 D_Unknown. All rights reserved. +// + +#import + +@interface Cell : NSObject +{ + NSMutableArray *DNA; + NSArray *nucleotidesArray; + +} + +-(id) initWithLength:(int)DNALength; +-(NSString*) getDNAString; +-(int) hammingDistance:(Cell*) c; +-(Cell*) crossbreedWith:(Cell*) partner; +-(void) mutate:(int) percent; +-(const NSString*) getNucleotide; +-(const NSString*) getNewNucleotide:(NSString*) oldNuc; +-(void) DNAFromString:(NSString*)source withMaxLen:(int) maxLen; + +@end diff --git a/iDNA/Cell.m b/iDNA/Cell.m new file mode 100644 index 0000000..e8586c0 --- /dev/null +++ b/iDNA/Cell.m @@ -0,0 +1,158 @@ +// +// Cell.m +// DNA +// +// Created by D_Unknown on 11/6/12. +// Copyright (c) 2012 D_Unknown. All rights reserved. +// + +#import "Cell.h" + +@implementation Cell + +const NSString * nucleotides[4] = {@"A", @"T", @"G", @"C"}; //array of nucleotides + +//initialization +-(id) init { + self=[super init]; + if (self) { + DNA=[[NSMutableArray alloc] init]; + } + return self; +} + +//initialization whith DNA of given length +-(id) initWithLength:(int)DNALength { + self = [super init]; + if (self) { + DNA = [[NSMutableArray alloc] initWithCapacity:DNALength]; + for(int i=0; iDNA count]; i++) + if([[self->DNA objectAtIndex:i] isNotEqualTo: [c->DNA objectAtIndex:i]]) + dist++; //++ hamming distance if nucleotides are not equal + return dist; +} + +//crossbreed with anoter cell +-(Cell*) crossbreedWith:(Cell*) partner { + Cell *child=[[Cell alloc] init]; //create a child cell + NSInteger DNALength=[self->DNA count]; + int rand=arc4random()%3; + switch (rand) { //choose 1 of 3 crossbreeed ways + case 0: { + for (int i=0; iDNA addObject:[self->DNA objectAtIndex:i]]; + } + for (int i=DNALength/2; iDNA addObject:[partner->DNA objectAtIndex:i]]; + } + break; + } + + case 1: { + BOOL first=YES; + for (int i=0; iDNA addObject:[self->DNA objectAtIndex:i]]; + first=NO; + } + else { + [child->DNA addObject:[partner->DNA objectAtIndex:i]]; + first=YES; + } + } + break; + } + case 2: { + for (int i=0; iDNA addObject:[self->DNA objectAtIndex:i]]; + } + for (int i=DNALength*0.2; iDNA addObject:[partner->DNA objectAtIndex:i]]; + } + for (int i=DNALength*0.8; iDNA addObject:[self->DNA objectAtIndex:i]]; + } + break; + } + + } + + return child; +} + +//mutate cell +-(void) mutate:(int) percent { + int dnaLength = [DNA count]; + if (percent == 0) // if percent = 0, do nothing + return; + if (dnaLength != 100) // if DNA length isn't 100, recount + percent = percent * dnaLength / 100; + + // create an array of BOOL, where there are as many YES elems, as number of nucs we need to mutate + BOOL mas [dnaLength]; + int count = dnaLength; + while (count--) + mas [count] = count < percent? YES : NO; + + // shuffle BOOL array + count = dnaLength; + int tempIndex; // buffer to save index of changed elem + BOOL tempValue; // buffer to save value of changed elem + while (count--) { + tempIndex = arc4random() % dnaLength; // get random index + tempValue = mas [tempIndex]; // get value of BOOL at random index + mas [tempIndex] = mas [count]; // exchange elem at index "count" + mas [count] = tempValue; // whith elem at random index + } + + // mutation itself + count = dnaLength; + while (count--) + if (mas[count]) // if mas[count] = YES, mutate nuc + [DNA replaceObjectAtIndex:count withObject:[self getNewNucleotide:[DNA objectAtIndex:count]]]; +} + +//get new random nuc +-(const NSString*) getNewNucleotide:(NSString *)oldNuc { + int count; + for (count = 0; count < 4; count++) + if (nucleotides[count] == oldNuc) + break; // get nuc index from 0 to 3 in nucs array, save it in count + count = (count + 1 + arc4random() % 3) % 4; // change index to random index not equal to it + return nucleotides[count]; // return elem of nucs array at this index +} + +//create DNA from string +-(void) DNAFromString:(NSString*)source withMaxLen:(int) maxLen { + [self->DNA removeAllObjects]; + NSString *nuc; + for (int i=0; i<[source length]||iDNA addObject:nuc]; //add char to DNA string + } +} + +@end diff --git a/iDNA/Document.h b/iDNA/Document.h new file mode 100644 index 0000000..bbf84b7 --- /dev/null +++ b/iDNA/Document.h @@ -0,0 +1,62 @@ +// +// Document.h +// iDNA +// +// Created by D_unknown on 12/25/12. +// Copyright (c) 2012 D_unknown. All rights reserved. +// + +#import +#import "Cell.h" + +@interface Document : NSDocument { + NSMutableArray *population; + Cell *goalDNA; + + NSInteger populationSize; + NSInteger DNALength; + NSInteger mutationRate; + + NSInteger generation; + NSInteger bestMatch; + BOOL paused; + BOOL stopped; + + IBOutlet NSTextField *popSizeField; + IBOutlet NSTextField *DNALenField; + IBOutlet NSTextField *mutRateField; + + IBOutlet NSSlider *popSizeSlider; + IBOutlet NSSlider *DNALenSlider; + IBOutlet NSSlider *mutRateSlider; + + + IBOutlet NSTextField *genLabel; + IBOutlet NSTextField *bestMatchLabel; + IBOutlet NSProgressIndicator *bestMatchProg; + + IBOutlet NSTextField *goalDNAField; + IBOutlet NSTextField *bestDNAField; + + IBOutlet NSButton *startBut; + IBOutlet NSButton *loadBut; + IBOutlet NSButton *stopBut; + +} + +- (IBAction)startEvolution:(id)sender; +- (IBAction)populationSizeChange:(id)sender; +- (IBAction)DNALengthChange:(id)sender; +- (IBAction)mutationRateChange:(id)sender; +- (IBAction)stopEvol:(id)sender; +- (IBAction)loadGoal:(id)sender; + + +- (void) evolution; +- (void) setPopSize; +- (void) setDNALen; +- (void) setMutRate; +- (void) setGen; +- (void) setBestMatch; +- (void) createGoal; +@end diff --git a/iDNA/Document.m b/iDNA/Document.m new file mode 100644 index 0000000..bd8a382 --- /dev/null +++ b/iDNA/Document.m @@ -0,0 +1,252 @@ +// +// Document.m +// iDNA +// +// Created by D_Unknown on 12/25/12. +// Copyright (c) 2012 D_unknown. All rights reserved. +// + +#import "Document.h" + +@implementation Document + +- (id) init +{ + self = [super init]; + return self; +} + +- (NSString *)windowNibName +{ + // Override returning the nib file name of the document + // If you need to use a subclass of NSWindowController or if your document supports multiple NSWindowControllers, you should remove this method and override -makeWindowControllers instead. + return @"Document"; +} + +- (void)windowControllerDidLoadNib:(NSWindowController *)aController +{ + [super windowControllerDidLoadNib:aController]; + // Add any code here that needs to be executed once the windowController has loaded the document's window. + populationSize=5000; + [self setPopSize]; + + DNALength=50; + [self setDNALen]; + + mutationRate=50; + [self setMutRate]; + + generation=0; + [self setGen]; + + bestMatch=0; + [self setBestMatch]; + + [self createGoal]; + + stopped=NO; + [stopBut setEnabled:NO]; + +} + +- (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError +{ + /* + Insert code here to write your document to data of the specified type. If outError != NULL, ensure that you create and set an appropriate error when returning nil. + You can also choose to override -fileWrapperOfType:error:, -writeToURL:ofType:error:, or -writeToURL:ofType:forSaveOperation:originalContentsURL:error: instead. + */ + NSException *exception = [NSException exceptionWithName:@"UnimplementedMethod" reason:[NSString stringWithFormat:@"%@ is unimplemented", NSStringFromSelector(_cmd)] userInfo:nil]; + @throw exception; + return nil; +} + +- (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError +{ + /* + Insert code here to read your document from the given data of the specified type. If outError != NULL, ensure that you create and set an appropriate error when returning NO. + You can also choose to override -readFromFileWrapper:ofType:error: or -readFromURL:ofType:error: instead. + */ + NSException *exception = [NSException exceptionWithName:@"UnimplementedMethod" reason:[NSString stringWithFormat:@"%@ is unimplemented", NSStringFromSelector(_cmd)] userInfo:nil]; + @throw exception; + return YES; +} + + + +- (IBAction)startEvolution:(id)sender { + //set default generation, best match and best DNA + generation=0; + [self setGen]; + bestMatch=0; + [self setBestMatch]; + [bestDNAField setStringValue:@""]; + + //disable/enable textfield, sliders and buttons + [popSizeField setEnabled:NO]; + [popSizeSlider setEnabled:NO]; + [DNALenField setEnabled:NO]; + [DNALenSlider setEnabled:NO]; + [startBut setEnabled:NO]; + [stopBut setEnabled:YES]; + [loadBut setEnabled:NO]; + + //create population + population = [[NSMutableArray alloc] init]; + for(int i=0; i[obj2 hammingDistance:goalDNA]) + return (NSComparisonResult)NSOrderedDescending; + if ([obj1 hammingDistance:goalDNA]<[obj2 hammingDistance:goalDNA]) + return (NSComparisonResult)NSOrderedAscending; + return NSOrderedSame; + }]; + + //find best match %, show best DNA, stop evolution if 100% + bestMatch=100-([[population objectAtIndex:0] hammingDistance:goalDNA]*100/DNALength); + [self setBestMatch]; + [bestDNAField setStringValue:[[population objectAtIndex:0] getDNAString]]; + if(bestMatch==100) break; + + //increment generation number + generation++; + [self setGen]; + + //crossbreed + int parent1, parent2; + for(int i=(populationSize/2); i[DNALenSlider maxValue]) { + NSAlert *sizeAlert = [NSAlert alertWithMessageText:@"Warning!" + defaultButton:@"OK" + alternateButton:nil + otherButton:nil + informativeTextWithFormat:@"Loaded goal DNA is longer than maximum length of %.0f characters. Loaded goal DNA was cut to %.0f characters.",[DNALenSlider maxValue],[DNALenSlider maxValue]]; + [sizeAlert beginSheetModalForWindow:[self windowForSheet] + modalDelegate:self + didEndSelector:nil + contextInfo:nil]; + DNALength = [DNALenSlider maxValue]; //set DNA max length + } + else { + DNALength = [string length]; //else if string length is OK, set DNA length as string length + } + [self setDNALen]; //set textfield and slider values + } +} + +-(void) setPopSize { + [popSizeField setIntValue:populationSize]; + [popSizeSlider setIntValue:populationSize]; +} + +-(void) setDNALen { + [DNALenField setIntValue:DNALength]; + [DNALenSlider setIntValue:DNALength]; +} + +-(void) setMutRate { + [mutRateField setIntValue:mutationRate]; + [mutRateSlider setIntValue:mutationRate]; +} + +-(void) setGen { + [genLabel setStringValue:[NSString stringWithFormat:@"Generation: %i",generation]]; +} + +-(void) setBestMatch { + [bestMatchLabel setStringValue:[NSString stringWithFormat:@"Best individual match - %i%%",bestMatch]]; + [bestMatchProg setDoubleValue:bestMatch]; +} + +-(void) createGoal { + goalDNA=[[Cell alloc] initWithLength:DNALength]; + [goalDNAField setStringValue:[goalDNA getDNAString]]; +} + +@end diff --git a/iDNA/en.lproj/Credits.rtf b/iDNA/en.lproj/Credits.rtf new file mode 100644 index 0000000..46576ef --- /dev/null +++ b/iDNA/en.lproj/Credits.rtf @@ -0,0 +1,29 @@ +{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} +{\colortbl;\red255\green255\blue255;} +\paperw9840\paperh8400 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs24 \cf0 Engineering: +\b0 \ + Some people\ +\ + +\b Human Interface Design: +\b0 \ + Some other people\ +\ + +\b Testing: +\b0 \ + Hopefully not nobody\ +\ + +\b Documentation: +\b0 \ + Whoever\ +\ + +\b With special thanks to: +\b0 \ + Mom\ +} diff --git a/iDNA/en.lproj/Document.xib b/iDNA/en.lproj/Document.xib new file mode 100644 index 0000000..0545406 --- /dev/null +++ b/iDNA/en.lproj/Document.xib @@ -0,0 +1,1288 @@ + + + + 1060 + 10J869 + 1938 + 1038.35 + 461.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1938 + + + NSProgressIndicator + NSWindowTemplate + NSTextField + NSCustomObject + NSBox + NSButton + NSButtonCell + NSView + NSSliderCell + NSTextFieldCell + NSSlider + NSUserDefaultsController + + + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + + Document + + + FirstResponder + + + 4111 + 2 + {{277, 186}, {507, 440}} + 1886912512 + iDNA + NSWindow + View + {94, 86} + + + 256 + + + + 268 + {{17, 403}, {101, 17}} + + + + YES + + 68288064 + 272630784 + Population size + + LucidaGrande + 13 + 1044 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2ODY1AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 268 + {{17, 378}, {77, 17}} + + + + YES + + 68288064 + 272630784 + DNA length + + + + + + + + + 268 + {{17, 353}, {102, 17}} + + + + YES + + 68288064 + 272630784 + Mutation rate % + + + + + + + + + 268 + {{124, 350}, {41, 22}} + + + + YES + + -1804468671 + 272630784 + + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + + + + + + 268 + {{124, 400}, {41, 22}} + + + + YES + + -1804468671 + 272630784 + + + + YES + + + + + + + 268 + {{124, 375}, {41, 22}} + + + + YES + + -1804468671 + 272630784 + + + + YES + + + + + + + 268 + {{171, 400}, {318, 21}} + + + + YES + + -2079981824 + 0 + + + 9999 + 3 + 5000 + 0.0 + 0 + 1 + NO + NO + + + + + 268 + {{171, 374}, {318, 21}} + + + + YES + + -2079981824 + 0 + + + 100 + 1 + 50 + 0.0 + 0 + 1 + NO + NO + + + + + 268 + {{171, 350}, {318, 21}} + + + + YES + + -2079981824 + 0 + + + 100 + 0.0 + 50 + 0.0 + 0 + 1 + NO + NO + + + + + 268 + {{196, 314}, {154, 22}} + + + + YES + + 68288064 + 272630784 + Generation: + + LucidaGrande-Bold + 14 + 16 + + + + + + + + + 268 + {{158, 294}, {209, 17}} + + + + YES + + 68288064 + 272630784 + Best individual match - + + + + + + + + + 1292 + + {{18, 266}, {471, 20}} + + + + 16392 + 100 + + + + 268 + {{14, 12}, {132, 32}} + + + + YES + + 67239424 + 134217728 + Start evolution + + + -2038284033 + 129 + + + 200 + 25 + + + + + 268 + {{359, 12}, {134, 32}} + + + YES + + 67239424 + 134217728 + Load goal DNA + + + -2038284033 + 129 + + + 200 + 25 + + + + + 12 + + + + 274 + + + + 268 + {{202, 174}, {65, 19}} + + + + YES + + 68288064 + 272630784 + Goal DNA + + + + + + + + + 268 + {{17, 110}, {434, 56}} + + + + YES + + -2076049920 + 272629760 + + + LucidaGrande + 13 + 16 + + + YES + + + + + + + 268 + {{203, 83}, {63, 19}} + + + + YES + + 68288064 + 272630784 + Best DNA + + + + + + + + + 268 + {{18, 19}, {434, 56}} + + + + YES + + -2076049920 + 272629760 + + + + YES + + + + + + {{2, 2}, {469, 199}} + + + + + + {{17, 49}, {473, 203}} + + + + {0, 0} + + 67239424 + 0 + Goal DNA + + LucidaGrande + 14 + 16 + + + + 3 + MCAwLjgwMDAwMDAxMTkAA + + + + 3 + 0 + 0 + NO + + + + 268 + {{146, 12}, {68, 32}} + + + + YES + + 67239424 + 134217728 + Stop + + + -2038284033 + 129 + + + 200 + 25 + + + + {507, 440} + + + + + {{0, 0}, {1024, 746}} + {94, 108} + {1e+13, 1e+13} + + + NSApplication + + + YES + + + + + + + window + + + + 18 + + + + populationSizeChange: + + + + 100083 + + + + populationSizeChange: + + + + 100084 + + + + DNALengthChange: + + + + 100087 + + + + DNALengthChange: + + + + 100088 + + + + mutationRateChange: + + + + 100089 + + + + mutationRateChange: + + + + 100091 + + + + popSizField + + + + 100092 + + + + mutRAteField + + + + 100094 + + + + popSizeSlider + + + + 100095 + + + + DNALenSlider + + + + 100096 + + + + mutaRateSlider + + + + 100097 + + + + popSizeField + + + + 100098 + + + + mutRateSlider + + + + 100099 + + + + goalDNAField + + + + 100100 + + + + mutRateField + + + + 100102 + + + + genLabel + + + + 100104 + + + + bestMatchLabel + + + + 100105 + + + + bestMatchProg + + + + 100106 + + + + loadBut + + + + 100110 + + + + DNALenField + + + + 100111 + + + + stopBut + + + + 100115 + + + + stopEvol + + + + 100116 + + + + stopEvol: + + + + 100118 + + + + bestDNAField + + + + 100125 + + + + startEvolution: + + + + 100126 + + + + startBut + + + + 100127 + + + + loadGoal: + + + + 100128 + + + + delegate + + + + 17 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + 5 + + + + + + Window + + + 6 + + + + + + + + + + + + + + + + + + + + + + + -3 + + + Application + + + 100021 + + + + + + + + 100022 + + + + + 100023 + + + + + + + + 100024 + + + + + 100025 + + + + + + + + 100026 + + + + + 100027 + + + + + + + + 100028 + + + + + 100029 + + + + + + + + 100030 + + + + + 100031 + + + + + + + + 100032 + + + + + 100033 + + + + + + + + 100034 + + + + + 100035 + + + + + + + + 100036 + + + + + 100037 + + + + + + + + 100038 + + + + + 100040 + + + + + + + + 100041 + + + + + 100044 + + + + + + + + 100045 + + + + + 100048 + + + + + 100049 + + + + + + + + 100050 + + + + + 100051 + + + + + + + + 100052 + + + + + 100055 + + + + + + + + + + + 100056 + + + + + + + + 100057 + + + + + 100058 + + + + + + + + 100059 + + + + + 100060 + + + + + 100112 + + + + + + + + 100113 + + + + + 100119 + + + + + + + + 100120 + + + + + 100123 + + + + + + + + 100124 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{133, 170}, {507, 413}} + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 100128 + + + + + Document + NSDocument + + id + id + id + id + id + id + + + + DNALengthChange: + id + + + loadGoal: + id + + + mutationRateChange: + id + + + populationSizeChange: + id + + + startEvolution: + id + + + stopEvol: + id + + + + NSTextField + NSSlider + NSTextField + NSTextField + NSProgressIndicator + NSTextField + NSTextField + NSButton + NSTextField + NSSlider + NSTextField + NSSlider + NSButton + NSButton + + + + DNALenField + NSTextField + + + DNALenSlider + NSSlider + + + bestDNAField + NSTextField + + + bestMatchLabel + NSTextField + + + bestMatchProg + NSProgressIndicator + + + genLabel + NSTextField + + + goalDNAField + NSTextField + + + loadBut + NSButton + + + mutRateField + NSTextField + + + mutRateSlider + NSSlider + + + popSizeField + NSTextField + + + popSizeSlider + NSSlider + + + startBut + NSButton + + + stopBut + NSButton + + + + IBProjectSource + ./Classes/Document.h + + + + NSDocument + + id + id + id + id + id + id + + + + printDocument: + id + + + revertDocumentToSaved: + id + + + runPageLayout: + id + + + saveDocument: + id + + + saveDocumentAs: + id + + + saveDocumentTo: + id + + + + IBProjectSource + ./Classes/NSDocument.h + + + + + 0 + IBCocoaFramework + YES + 3 + + diff --git a/iDNA/en.lproj/InfoPlist.strings b/iDNA/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/iDNA/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/iDNA/en.lproj/MainMenu.xib b/iDNA/en.lproj/MainMenu.xib new file mode 100644 index 0000000..a0c2024 --- /dev/null +++ b/iDNA/en.lproj/MainMenu.xib @@ -0,0 +1,4525 @@ + + + + 1070 + 11A511 + 1920 + 1138 + 566.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1920 + + + NSMenu + NSMenuItem + NSCustomObject + + + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + + NSApplication + + + FirstResponder + + + NSApplication + + + AMainMenu + + + + iDNA + + 1048576 + 2147483647 + + NSImage + NSMenuCheckmark + + + NSImage + NSMenuMixedState + + submenuAction: + + iDNA + + + + About iDNA + + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Preferences… + , + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Services + + 1048576 + 2147483647 + + + submenuAction: + + Services + + _NSServicesMenu + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Hide iDNA + h + 1048576 + 2147483647 + + + + + + Hide Others + h + 1572864 + 2147483647 + + + + + + Show All + + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Quit iDNA + q + 1048576 + 2147483647 + + + + + _NSAppleMenu + + + + + File + + 1048576 + 2147483647 + + + submenuAction: + + File + + + + New + n + 1048576 + 2147483647 + + + + + + Open… + o + 1048576 + 2147483647 + + + + + + Open Recent + + 1048576 + 2147483647 + + + submenuAction: + + Open Recent + + + + Clear Menu + + 1048576 + 2147483647 + + + + + _NSRecentDocumentsMenu + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Close + w + 1048576 + 2147483647 + + + + + + Save + s + 1048576 + 2147483647 + + + + + + Save As… + S + 1179648 + 2147483647 + + + + + + Revert to Saved + + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Page Setup... + P + 1179648 + 2147483647 + + + + + + + Print… + p + 1048576 + 2147483647 + + + + + + + + + Edit + + 1048576 + 2147483647 + + + submenuAction: + + Edit + + + + Undo + z + 1048576 + 2147483647 + + + + + + Redo + Z + 1179648 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Cut + x + 1048576 + 2147483647 + + + + + + Copy + c + 1048576 + 2147483647 + + + + + + Paste + v + 1048576 + 2147483647 + + + + + + Paste and Match Style + V + 1572864 + 2147483647 + + + + + + Delete + + 1048576 + 2147483647 + + + + + + Select All + a + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Find + + 1048576 + 2147483647 + + + submenuAction: + + Find + + + + Find… + f + 1048576 + 2147483647 + + + 1 + + + + Find Next + g + 1048576 + 2147483647 + + + 2 + + + + Find Previous + G + 1179648 + 2147483647 + + + 3 + + + + Use Selection for Find + e + 1048576 + 2147483647 + + + 7 + + + + Jump to Selection + j + 1048576 + 2147483647 + + + + + + + + + Spelling and Grammar + + 1048576 + 2147483647 + + + submenuAction: + + Spelling and Grammar + + + + Show Spelling and Grammar + : + 1048576 + 2147483647 + + + + + + Check Document Now + ; + 1048576 + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Check Spelling While Typing + + 1048576 + 2147483647 + + + + + + Check Grammar With Spelling + + 1048576 + 2147483647 + + + + + + Correct Spelling Automatically + + 2147483647 + + + + + + + + + Substitutions + + 1048576 + 2147483647 + + + submenuAction: + + Substitutions + + + + Show Substitutions + + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Smart Copy/Paste + f + 1048576 + 2147483647 + + + 1 + + + + Smart Quotes + g + 1048576 + 2147483647 + + + 2 + + + + Smart Dashes + + 2147483647 + + + + + + Smart Links + G + 1179648 + 2147483647 + + + 3 + + + + Text Replacement + + 2147483647 + + + + + + + + + Transformations + + 2147483647 + + + submenuAction: + + Transformations + + + + Make Upper Case + + 2147483647 + + + + + + Make Lower Case + + 2147483647 + + + + + + Capitalize + + 2147483647 + + + + + + + + + Speech + + 1048576 + 2147483647 + + + submenuAction: + + Speech + + + + Start Speaking + + 1048576 + 2147483647 + + + + + + Stop Speaking + + 1048576 + 2147483647 + + + + + + + + + + + + Format + + 2147483647 + + + submenuAction: + + Format + + + + Font + + 2147483647 + + + submenuAction: + + Font + + + + Show Fonts + t + 1048576 + 2147483647 + + + + + + Bold + b + 1048576 + 2147483647 + + + 2 + + + + Italic + i + 1048576 + 2147483647 + + + 1 + + + + Underline + u + 1048576 + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Bigger + + + 1048576 + 2147483647 + + + 3 + + + + Smaller + - + 1048576 + 2147483647 + + + 4 + + + + YES + YES + + + 2147483647 + + + + + + Kern + + 2147483647 + + + submenuAction: + + Kern + + + + Use Default + + 2147483647 + + + + + + Use None + + 2147483647 + + + + + + Tighten + + 2147483647 + + + + + + Loosen + + 2147483647 + + + + + + + + + Ligature + + 2147483647 + + + submenuAction: + + Ligature + + + + Use Default + + 2147483647 + + + + + + Use None + + 2147483647 + + + + + + Use All + + 2147483647 + + + + + + + + + Baseline + + 2147483647 + + + submenuAction: + + Baseline + + + + Use Default + + 2147483647 + + + + + + Superscript + + 2147483647 + + + + + + Subscript + + 2147483647 + + + + + + Raise + + 2147483647 + + + + + + Lower + + 2147483647 + + + + + + + + + YES + YES + + + 2147483647 + + + + + + Show Colors + C + 1048576 + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Copy Style + c + 1572864 + 2147483647 + + + + + + Paste Style + v + 1572864 + 2147483647 + + + + + _NSFontMenu + + + + + Text + + 2147483647 + + + submenuAction: + + Text + + + + Align Left + { + 1048576 + 2147483647 + + + + + + Center + | + 1048576 + 2147483647 + + + + + + Justify + + 2147483647 + + + + + + Align Right + } + 1048576 + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Writing Direction + + 2147483647 + + + submenuAction: + + Writing Direction + + + + YES + Paragraph + + 2147483647 + + + + + + CURlZmF1bHQ + + 2147483647 + + + + + + CUxlZnQgdG8gUmlnaHQ + + 2147483647 + + + + + + CVJpZ2h0IHRvIExlZnQ + + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + YES + Selection + + 2147483647 + + + + + + CURlZmF1bHQ + + 2147483647 + + + + + + CUxlZnQgdG8gUmlnaHQ + + 2147483647 + + + + + + CVJpZ2h0IHRvIExlZnQ + + 2147483647 + + + + + + + + + YES + YES + + + 2147483647 + + + + + + Show Ruler + + 2147483647 + + + + + + Copy Ruler + c + 1310720 + 2147483647 + + + + + + Paste Ruler + v + 1310720 + 2147483647 + + + + + + + + + + + + View + + 1048576 + 2147483647 + + + submenuAction: + + View + + + + Show Toolbar + t + 1572864 + 2147483647 + + + + + + Customize Toolbar… + + 1048576 + 2147483647 + + + + + + + + + Window + + 1048576 + 2147483647 + + + submenuAction: + + Window + + + + Minimize + m + 1048576 + 2147483647 + + + + + + Zoom + + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Bring All to Front + + 1048576 + 2147483647 + + + + + _NSWindowsMenu + + + + + Help + + 2147483647 + + + submenuAction: + + Help + + + + iDNA Help + ? + 1048576 + 2147483647 + + + + + _NSHelpMenu + + + + _NSMainMenu + + + NSFontManager + + + + + + + terminate: + + + + 448 + + + + orderFrontStandardAboutPanel: + + + + 142 + + + + performMiniaturize: + + + + 37 + + + + arrangeInFront: + + + + 39 + + + + runPageLayout: + + + + 87 + + + + clearRecentDocuments: + + + + 127 + + + + performClose: + + + + 193 + + + + toggleContinuousSpellChecking: + + + + 222 + + + + undo: + + + + 223 + + + + copy: + + + + 224 + + + + checkSpelling: + + + + 225 + + + + paste: + + + + 226 + + + + stopSpeaking: + + + + 227 + + + + cut: + + + + 228 + + + + showGuessPanel: + + + + 230 + + + + redo: + + + + 231 + + + + selectAll: + + + + 232 + + + + startSpeaking: + + + + 233 + + + + delete: + + + + 235 + + + + performZoom: + + + + 240 + + + + performFindPanelAction: + + + + 241 + + + + centerSelectionInVisibleArea: + + + + 245 + + + + toggleGrammarChecking: + + + + 347 + + + + toggleSmartInsertDelete: + + + + 355 + + + + toggleAutomaticQuoteSubstitution: + + + + 356 + + + + toggleAutomaticLinkDetection: + + + + 357 + + + + saveDocument: + + + + 362 + + + + saveDocumentAs: + + + + 363 + + + + revertDocumentToSaved: + + + + 364 + + + + runToolbarCustomizationPalette: + + + + 365 + + + + toggleToolbarShown: + + + + 366 + + + + hide: + + + + 367 + + + + hideOtherApplications: + + + + 368 + + + + unhideAllApplications: + + + + 370 + + + + newDocument: + + + + 371 + + + + openDocument: + + + + 372 + + + + printDocument: + + + + 373 + + + + raiseBaseline: + + + + 425 + + + + lowerBaseline: + + + + 426 + + + + copyFont: + + + + 427 + + + + subscript: + + + + 428 + + + + superscript: + + + + 429 + + + + tightenKerning: + + + + 430 + + + + underline: + + + + 431 + + + + orderFrontColorPanel: + + + + 432 + + + + useAllLigatures: + + + + 433 + + + + loosenKerning: + + + + 434 + + + + pasteFont: + + + + 435 + + + + unscript: + + + + 436 + + + + useStandardKerning: + + + + 437 + + + + useStandardLigatures: + + + + 438 + + + + turnOffLigatures: + + + + 439 + + + + turnOffKerning: + + + + 440 + + + + capitalizeWord: + + + + 454 + + + + lowercaseWord: + + + + 455 + + + + uppercaseWord: + + + + 456 + + + + toggleAutomaticDashSubstitution: + + + + 460 + + + + orderFrontSubstitutionsPanel: + + + + 461 + + + + toggleAutomaticTextReplacement: + + + + 463 + + + + toggleAutomaticSpellingCorrection: + + + + 466 + + + + performFindPanelAction: + + + + 467 + + + + performFindPanelAction: + + + + 468 + + + + performFindPanelAction: + + + + 469 + + + + pasteAsPlainText: + + + + 471 + + + + showHelp: + + + + 494 + + + + alignCenter: + + + + 517 + + + + pasteRuler: + + + + 518 + + + + toggleRuler: + + + + 519 + + + + alignRight: + + + + 520 + + + + copyRuler: + + + + 521 + + + + alignJustified: + + + + 522 + + + + alignLeft: + + + + 523 + + + + makeBaseWritingDirectionNatural: + + + + 524 + + + + makeBaseWritingDirectionLeftToRight: + + + + 525 + + + + makeBaseWritingDirectionRightToLeft: + + + + 526 + + + + makeTextWritingDirectionNatural: + + + + 527 + + + + makeTextWritingDirectionLeftToRight: + + + + 528 + + + + makeTextWritingDirectionRightToLeft: + + + + 529 + + + + addFontTrait: + + + + 420 + + + + addFontTrait: + + + + 421 + + + + modifyFont: + + + + 422 + + + + orderFrontFontPanel: + + + + 423 + + + + modifyFont: + + + + 424 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 29 + + + + + + + + + + + + + + 19 + + + + + + + + 56 + + + + + + + + 217 + + + + + + + + 83 + + + + + + + + 81 + + + + + + + + + + + + + + + + + + 75 + + + + + 80 + + + + + 78 + + + + + 72 + + + + + 82 + + + + + 124 + + + + + + + + 77 + + + + + 73 + + + + + 79 + + + + + 112 + + + + + 74 + + + + + 125 + + + + + + + + 126 + + + + + 205 + + + + + + + + + + + + + + + + + + + + + + 202 + + + + + 198 + + + + + 207 + + + + + 214 + + + + + 199 + + + + + 203 + + + + + 197 + + + + + 206 + + + + + 215 + + + + + 218 + + + + + + + + 216 + + + + + + + + 200 + + + + + + + + + + + + + 219 + + + + + 201 + + + + + 204 + + + + + 220 + + + + + + + + + + + + 213 + + + + + 210 + + + + + 221 + + + + + 208 + + + + + 209 + + + + + 57 + + + + + + + + + + + + + + + + + + 58 + + + + + 134 + + + + + 150 + + + + + 136 + + + + + 144 + + + + + 129 + + + + + 143 + + + + + 236 + + + + + 131 + + + + + + + + 149 + + + + + 145 + + + + + 130 + + + + + 24 + + + + + + + + + + + 92 + + + + + 5 + + + + + 239 + + + + + 23 + + + + + 295 + + + + + + + + 296 + + + + + + + + + 297 + + + + + 298 + + + + + 211 + + + + + + + + 212 + + + + + + + + + 195 + + + + + 196 + + + + + 346 + + + + + 348 + + + + + + + + 349 + + + + + + + + + + + + + + 350 + + + + + 351 + + + + + 354 + + + + + 374 + + + + + + + + 375 + + + + + + + + + 376 + + + + + + + + 387 + + + + + + + + + + + + + + + + + + + + + + + 388 + + + + + 389 + + + + + 390 + + + + + 391 + + + + + 392 + + + + + 393 + + + + + 394 + + + + + 395 + + + + + 396 + + + + + + + + 397 + + + + + + + + 398 + + + + + + + + 399 + + + + + 400 + + + + + 401 + + + + + 402 + + + + + 403 + + + + + 404 + + + + + + + + + + + + 405 + + + + + 406 + + + + + 407 + + + + + 408 + + + + + 409 + + + + + 410 + + + + + + + + + + 411 + + + + + 412 + + + + + 413 + + + + + 414 + + + + + + + + + + + 415 + + + + + 416 + + + + + 417 + + + + + 418 + + + + + 419 + + + + + 449 + + + + + + + + 450 + + + + + + + + + + 451 + + + + + 452 + + + + + 453 + + + + + 457 + + + + + 458 + + + + + 459 + + + + + 462 + + + + + 464 + + + + + 465 + + + + + 470 + + + + + 491 + + + + + + + + 492 + + + + + + + + 493 + + + + + 495 + + + + + + + + 496 + + + + + + + + + + + + + + + + + 497 + + + + + 498 + + + + + 499 + + + + + 500 + + + + + 501 + + + + + 502 + + + + + + + + 503 + + + + + 504 + + + + + 505 + + + + + 506 + + + + + 507 + + + + + + + + + + + + + + + + 508 + + + + + 509 + + + + + 510 + + + + + 511 + + + + + 512 + + + + + 513 + + + + + 514 + + + + + 515 + + + + + 516 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 529 + + + + + ABAppCardController + NSWindowController + + id + id + id + id + id + id + id + id + + + + addCardViewField: + id + + + copy: + id + + + cut: + id + + + doDelete: + id + + + find: + id + + + paste: + id + + + saveChanges: + id + + + toggleCardEditingMode: + id + + + + ABCardView + NSButton + NSManagedObjectContext + NSSearchField + NSTextField + NSWindow + + + + mCardView + ABCardView + + + mEditButton + NSButton + + + mManagedObjectContext + NSManagedObjectContext + + + mSearchField + NSSearchField + + + mStatusTextField + NSTextField + + + mWindow + NSWindow + + + + IBProjectSource + ./Classes/ABAppCardController.h + + + + ABCardView + NSView + + id + id + + + + commitAndSave: + id + + + statusImageClicked: + id + + + + NSObjectController + NSImageView + NSView + ABNameFrameView + NSView + NSImage + ABImageView + + + + mBindingsController + NSObjectController + + + mBuddyStatusImage + NSImageView + + + mHeaderView + NSView + + + mNameView + ABNameFrameView + + + mNextKeyView + NSView + + + mUserImage + NSImage + + + mUserImageView + ABImageView + + + + IBProjectSource + ./Classes/ABCardView.h + + + + ABImageView + NSImageView + + id + id + id + id + + + + copy: + id + + + cut: + id + + + delete: + id + + + paste: + id + + + + IBProjectSource + ./Classes/ABImageView.h + + + + DVTAutoLayoutView + NSView + + IBProjectSource + ./Classes/DVTAutoLayoutView.h + + + + DVTBorderedView + DVTAutoLayoutView + + contentView + NSView + + + contentView + + contentView + NSView + + + + IBProjectSource + ./Classes/DVTBorderedView.h + + + + DVTDelayedMenuButton + NSButton + + IBProjectSource + ./Classes/DVTDelayedMenuButton.h + + + + DVTGradientImageButton + NSButton + + IBProjectSource + ./Classes/DVTGradientImageButton.h + + + + DVTImageAndTextCell + NSTextFieldCell + + IBProjectSource + ./Classes/DVTImageAndTextCell.h + + + + DVTImageAndTextColumn + NSTableColumn + + IBProjectSource + ./Classes/DVTImageAndTextColumn.h + + + + DVTOutlineView + NSOutlineView + + IBProjectSource + ./Classes/DVTOutlineView.h + + + + DVTSplitView + NSSplitView + + IBProjectSource + ./Classes/DVTSplitView.h + + + + DVTStackView + DVTAutoLayoutView + + IBProjectSource + ./Classes/DVTStackView.h + + + + DVTViewController + NSViewController + + IBProjectSource + ./Classes/DVTViewController.h + + + + HFController + NSObject + + selectAll: + id + + + selectAll: + + selectAll: + id + + + + IBProjectSource + ./Classes/HFController.h + + + + HFRepresenterTextView + NSView + + selectAll: + id + + + selectAll: + + selectAll: + id + + + + IBProjectSource + ./Classes/HFRepresenterTextView.h + + + + IBEditor + NSObject + + id + id + id + + + + changeFont: + id + + + selectAll: + id + + + sizeSelectionToFit: + id + + + + IBProjectSource + ./Classes/IBEditor.h + + + + IDECapsuleListView + DVTStackView + + dataSource + id + + + dataSource + + dataSource + id + + + + IBProjectSource + ./Classes/IDECapsuleListView.h + + + + IDEDMArrayController + NSArrayController + + IBProjectSource + ./Classes/IDEDMArrayController.h + + + + IDEDMEditor + IDEEditor + + DVTBorderedView + NSView + IDEDMEditorSourceListController + DVTSplitView + + + + bottomToolbarBorderView + DVTBorderedView + + + sourceListSplitViewPane + NSView + + + sourceListViewController + IDEDMEditorSourceListController + + + splitView + DVTSplitView + + + + IBProjectSource + ./Classes/IDEDMEditor.h + + + + IDEDMEditorController + IDEViewController + + IBProjectSource + ./Classes/IDEDMEditorController.h + + + + IDEDMEditorSourceListController + IDEDMEditorController + + DVTBorderedView + IDEDMEditor + DVTImageAndTextColumn + DVTOutlineView + NSTreeController + + + + borderedView + DVTBorderedView + + + parentEditor + IDEDMEditor + + + primaryColumn + DVTImageAndTextColumn + + + sourceListOutlineView + DVTOutlineView + + + sourceListTreeController + NSTreeController + + + + IBProjectSource + ./Classes/IDEDMEditorSourceListController.h + + + + IDEDMHighlightImageAndTextCell + DVTImageAndTextCell + + IBProjectSource + ./Classes/IDEDMHighlightImageAndTextCell.h + + + + IDEDataModelBrowserEditor + IDEDMEditorController + + IDEDataModelPropertiesTableController + IDECapsuleListView + NSArrayController + IDEDataModelPropertiesTableController + IDEDataModelEntityContentsEditor + IDEDataModelPropertiesTableController + + + + attributesTableViewController + IDEDataModelPropertiesTableController + + + capsuleView + IDECapsuleListView + + + entityArrayController + NSArrayController + + + fetchedPropertiesTableViewController + IDEDataModelPropertiesTableController + + + parentEditor + IDEDataModelEntityContentsEditor + + + relationshipsTableViewController + IDEDataModelPropertiesTableController + + + + IBProjectSource + ./Classes/IDEDataModelBrowserEditor.h + + + + IDEDataModelConfigurationEditor + IDEDMEditorController + + IDECapsuleListView + IDEDataModelEditor + IDEDataModelConfigurationTableController + + + + capsuleListView + IDECapsuleListView + + + parentEditor + IDEDataModelEditor + + + tableController + IDEDataModelConfigurationTableController + + + + IBProjectSource + ./Classes/IDEDataModelConfigurationEditor.h + + + + IDEDataModelConfigurationTableController + IDEDMEditorController + + NSArrayController + NSArrayController + IDEDataModelConfigurationEditor + XDTableView + + + + configurationsArrayController + NSArrayController + + + entitiesArrayController + NSArrayController + + + parentEditor + IDEDataModelConfigurationEditor + + + tableView + XDTableView + + + + IBProjectSource + ./Classes/IDEDataModelConfigurationTableController.h + + + + IDEDataModelDiagramEditor + IDEDMEditorController + + XDDiagramView + IDEDataModelEntityContentsEditor + + + + diagramView + XDDiagramView + + + parentEditor + IDEDataModelEntityContentsEditor + + + + IBProjectSource + ./Classes/IDEDataModelDiagramEditor.h + + + + IDEDataModelEditor + IDEDMEditor + + DVTDelayedMenuButton + DVTDelayedMenuButton + NSSegmentedControl + IDEDataModelConfigurationEditor + IDEDataModelEntityContentsEditor + IDEDataModelFetchRequestEditor + NSSegmentedControl + NSTabView + + + + addEntityButton + DVTDelayedMenuButton + + + addPropertyButton + DVTDelayedMenuButton + + + browserDiagramSegmentControl + NSSegmentedControl + + + configurationViewController + IDEDataModelConfigurationEditor + + + entityContentsViewController + IDEDataModelEntityContentsEditor + + + fetchRequestViewController + IDEDataModelFetchRequestEditor + + + hierarchySegmentControl + NSSegmentedControl + + + tabView + NSTabView + + + + IBProjectSource + ./Classes/IDEDataModelEditor.h + + + + IDEDataModelEntityContentsEditor + IDEDMEditorController + + IDEDataModelBrowserEditor + IDEDataModelDiagramEditor + IDEDataModelEditor + NSTabView + + + + browserViewController + IDEDataModelBrowserEditor + + + diagramViewController + IDEDataModelDiagramEditor + + + parentEditor + IDEDataModelEditor + + + tabView + NSTabView + + + + IBProjectSource + ./Classes/IDEDataModelEntityContentsEditor.h + + + + IDEDataModelFetchRequestEditor + IDEDMEditorController + + NSArrayController + IDEDataModelEditor + IDECapsuleListView + + + + entityController + NSArrayController + + + parentEditor + IDEDataModelEditor + + + tableView + IDECapsuleListView + + + + IBProjectSource + ./Classes/IDEDataModelFetchRequestEditor.h + + + + IDEDataModelPropertiesTableController + IDEDMEditorController + + IDEDMArrayController + NSTableColumn + NSArrayController + IDEDataModelBrowserEditor + IDEDMHighlightImageAndTextCell + XDTableView + + + + arrayController + IDEDMArrayController + + + entitiesColumn + NSTableColumn + + + entityArrayController + NSArrayController + + + parentEditor + IDEDataModelBrowserEditor + + + propertyNameAndImageCell + IDEDMHighlightImageAndTextCell + + + tableView + XDTableView + + + + IBProjectSource + ./Classes/IDEDataModelPropertiesTableController.h + + + + IDEDocSetOutlineView + NSOutlineView + + IBProjectSource + ./Classes/IDEDocSetOutlineView.h + + + + IDEDocSetOutlineViewController + NSObject + + id + id + id + id + id + + + + getDocSetAction: + id + + + showProblemInfoForUpdate: + id + + + subscribeToPublisherAction: + id + + + unsubscribeFromPublisher: + id + + + updateDocSetAction: + id + + + + docSetOutlineView + IDEDocSetOutlineView + + + docSetOutlineView + + docSetOutlineView + IDEDocSetOutlineView + + + + IBProjectSource + ./Classes/IDEDocSetOutlineViewController.h + + + + IDEDocViewingPrefPaneController + IDEViewController + + id + id + id + id + id + id + id + id + id + + + + addSubscription: + id + + + checkForAndInstallUpdatesNow: + id + + + minimumFontSizeComboBoxAction: + id + + + minimumFontSizeEnabledAction: + id + + + showHelp: + id + + + showSubscriptionSheet: + id + + + subscriptionCancelAction: + id + + + toggleAutoCheckForAndInstallUpdates: + id + + + toggleDocSetInfo: + id + + + + DVTGradientImageButton + DVTGradientImageButton + DVTGradientImageButton + NSSplitView + NSView + NSView + DVTBorderedView + DVTBorderedView + NSButton + NSTextView + IDEDocSetOutlineViewController + NSComboBox + NSTextField + NSButton + NSTextField + NSWindow + NSButton + + + + _addButton + DVTGradientImageButton + + + _deleteButton + DVTGradientImageButton + + + _showInfoAreaButton + DVTGradientImageButton + + + _splitView + NSSplitView + + + _splitViewDocSetInfoSubview + NSView + + + _splitViewDocSetsListSubview + NSView + + + borderedViewAroundSplitView + DVTBorderedView + + + borderedViewBelowTable + DVTBorderedView + + + checkAndInstallNowButton + NSButton + + + docSetInfoTextView + NSTextView + + + docSetOutlineViewController + IDEDocSetOutlineViewController + + + minimumFontSizeControl + NSComboBox + + + noUpdatesAvailableMessage + NSTextField + + + showInfoButton + NSButton + + + subscriptionTextField + NSTextField + + + subscriptionWindow + NSWindow + + + validateAddSubscriptionButton + NSButton + + + + IBProjectSource + ./Classes/IDEDocViewingPrefPaneController.h + + + + IDEEditor + IDEViewController + + IBProjectSource + ./Classes/IDEEditor.h + + + + IDEViewController + DVTViewController + + IBProjectSource + ./Classes/IDEViewController.h + + + + IKImageView + + id + id + id + id + + + + copy: + id + + + crop: + id + + + cut: + id + + + paste: + id + + + + IBProjectSource + ./Classes/IKImageView.h + + + + NSDocument + + id + id + id + id + id + id + + + + printDocument: + id + + + revertDocumentToSaved: + id + + + runPageLayout: + id + + + saveDocument: + id + + + saveDocumentAs: + id + + + saveDocumentTo: + id + + + + IBProjectSource + ./Classes/NSDocument.h + + + + NSDocumentController + + _openRecentDocument: + id + + + _openRecentDocument: + + _openRecentDocument: + id + + + + IBProjectSource + ./Classes/NSDocumentController.h + + + + QLPreviewBubble + NSObject + + id + id + + + + hide: + id + + + show: + id + + + + parentWindow + NSWindow + + + parentWindow + + parentWindow + NSWindow + + + + IBProjectSource + ./Classes/QLPreviewBubble.h + + + + QTMovieView + + id + id + id + id + id + + + + showAll: + id + + + showCustomButton: + id + + + toggleLoops: + id + + + zoomIn: + id + + + zoomOut: + id + + + + IBProjectSource + ./Classes/QTMovieView.h + + + + WebView + + id + id + id + id + + + + reloadFromOrigin: + id + + + resetPageZoom: + id + + + zoomPageIn: + id + + + zoomPageOut: + id + + + + IBProjectSource + ./Classes/WebView.h + + + + XDDiagramView + NSView + + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + + + + _graphLayouterMenuItemAction: + id + + + _zoomPopUpButtonAction: + id + + + alignBottomEdges: + id + + + alignCentersHorizontallyInContainer: + id + + + alignCentersVerticallyInContainer: + id + + + alignHorizontalCenters: + id + + + alignLeftEdges: + id + + + alignRightEdges: + id + + + alignTopEdges: + id + + + alignVerticalCenters: + id + + + bringToFront: + id + + + collapseAllCompartments: + id + + + copy: + id + + + cut: + id + + + delete: + id + + + deleteBackward: + id + + + deleteForward: + id + + + deselectAll: + id + + + diagramZoomIn: + id + + + diagramZoomOut: + id + + + expandAllCompartments: + id + + + flipHorizontally: + id + + + flipVertically: + id + + + layoutGraphicsConcentrically: + id + + + layoutGraphicsHierarchically: + id + + + lock: + id + + + makeSameHeight: + id + + + makeSameWidth: + id + + + moveDown: + id + + + moveDownAndModifySelection: + id + + + moveLeft: + id + + + moveLeftAndModifySelection: + id + + + moveRight: + id + + + moveRightAndModifySelection: + id + + + moveUp: + id + + + moveUpAndModifySelection: + id + + + paste: + id + + + rollDownAllCompartments: + id + + + rollUpAllCompartments: + id + + + selectAll: + id + + + sendToBack: + id + + + sizeToFit: + id + + + toggleGridShown: + id + + + toggleHiddenGraphicsShown: + id + + + togglePageBreaksShown: + id + + + toggleRuler: + id + + + toggleSnapsToGrid: + id + + + unlock: + id + + + + _diagramController + IDEDataModelDiagramEditor + + + _diagramController + + _diagramController + IDEDataModelDiagramEditor + + + + IBProjectSource + ./Classes/XDDiagramView.h + + + + XDTableView + NSTableView + + showAllTableColumns: + id + + + showAllTableColumns: + + showAllTableColumns: + id + + + + IBProjectSource + ./Classes/XDTableView.h + + + + + 0 + IBCocoaFramework + YES + 3 + + {9, 8} + {7, 2} + + + diff --git a/iDNA/iDNA-Info.plist b/iDNA/iDNA-Info.plist new file mode 100644 index 0000000..d77a77d --- /dev/null +++ b/iDNA/iDNA-Info.plist @@ -0,0 +1,55 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + population + + CFBundleTypeIconFile + + CFBundleTypeName + DocumentType + CFBundleTypeOSTypes + + ???? + + CFBundleTypeRole + Editor + NSDocumentClass + Document + + + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + D-Unknown.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSMinimumSystemVersion + ${MACOSX_DEPLOYMENT_TARGET} + NSHumanReadableCopyright + Copyright © 2012 __MyCompanyName__. All rights reserved. + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/iDNA/iDNA-Prefix.pch b/iDNA/iDNA-Prefix.pch new file mode 100644 index 0000000..24593cd --- /dev/null +++ b/iDNA/iDNA-Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'iDNA' target in the 'iDNA' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/iDNA/main.m b/iDNA/main.m new file mode 100644 index 0000000..b6cad8e --- /dev/null +++ b/iDNA/main.m @@ -0,0 +1,14 @@ +// +// main.m +// iDNA +// +// Created by Mac User on 12/25/12. +// Copyright (c) 2012 __MyCompanyName__. All rights reserved. +// + +#import + +int main(int argc, char *argv[]) +{ + return NSApplicationMain(argc, (const char **)argv); +} diff --git a/iDNATests/en.lproj/InfoPlist.strings b/iDNATests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/iDNATests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/iDNATests/iDNATests-Info.plist b/iDNATests/iDNATests-Info.plist new file mode 100644 index 0000000..aa54a7c --- /dev/null +++ b/iDNATests/iDNATests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + D-Unknown.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/iDNATests/iDNATests.h b/iDNATests/iDNATests.h new file mode 100644 index 0000000..0854963 --- /dev/null +++ b/iDNATests/iDNATests.h @@ -0,0 +1,13 @@ +// +// iDNATests.h +// iDNATests +// +// Created by Mac User on 12/25/12. +// Copyright (c) 2012 __MyCompanyName__. All rights reserved. +// + +#import + +@interface iDNATests : SenTestCase + +@end diff --git a/iDNATests/iDNATests.m b/iDNATests/iDNATests.m new file mode 100644 index 0000000..8fdcacd --- /dev/null +++ b/iDNATests/iDNATests.m @@ -0,0 +1,32 @@ +// +// iDNATests.m +// iDNATests +// +// Created by Mac User on 12/25/12. +// Copyright (c) 2012 __MyCompanyName__. All rights reserved. +// + +#import "iDNATests.h" + +@implementation iDNATests + +- (void)setUp +{ + [super setUp]; + + // Set-up code here. +} + +- (void)tearDown +{ + // Tear-down code here. + + [super tearDown]; +} + +- (void)testExample +{ + STFail(@"Unit tests are not implemented yet in iDNATests"); +} + +@end diff --git a/osx-project-3 b/osx-project-3 new file mode 160000 index 0000000..1fbc6d3 --- /dev/null +++ b/osx-project-3 @@ -0,0 +1 @@ +Subproject commit 1fbc6d3051c6e89b55ad48addbc6014f9d8fd832