diff --git a/Example 1/PSHTreeGraph_Prefix.pch b/Example 1/PSHTreeGraph_Prefix.pch index 567f2d8..40b98c5 100644 --- a/Example 1/PSHTreeGraph_Prefix.pch +++ b/Example 1/PSHTreeGraph_Prefix.pch @@ -2,7 +2,14 @@ // Prefix header for all source files of the 'PSHTreeGraph' target in the 'PSHTreeGraph' project // + +#import + +#ifndef __IPHONE_3_0 +#warning "This project uses features only available in iPhone SDK 3.0 and later." +#endif + #ifdef __OBJC__ - #import #import + #import #endif diff --git a/PSTTreeGraph/PSTTreeGraph.xcodeproj/project.pbxproj b/PSTTreeGraph/PSTTreeGraph.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f4372d3 --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraph.xcodeproj/project.pbxproj @@ -0,0 +1,462 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 4F1FC8401407441500C343D9 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC83F1407441500C343D9 /* UIKit.framework */; }; + 4F1FC8421407441500C343D9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8411407441500C343D9 /* Foundation.framework */; }; + 4F1FC8441407441500C343D9 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8431407441500C343D9 /* CoreGraphics.framework */; }; + 4F1FC84A1407441500C343D9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC8481407441500C343D9 /* InfoPlist.strings */; }; + 4F1FC84C1407441500C343D9 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC84B1407441500C343D9 /* main.m */; }; + 4F1FC8501407441600C343D9 /* PSTTreeGraphAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC84F1407441600C343D9 /* PSTTreeGraphAppDelegate.m */; }; + 4F1FC8531407441600C343D9 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC8511407441600C343D9 /* MainWindow.xib */; }; + 4F1FC8561407441600C343D9 /* PSTTreeGraphViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC8551407441600C343D9 /* PSTTreeGraphViewController.m */; }; + 4F1FC8591407441600C343D9 /* PSTTreeGraphViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC8571407441600C343D9 /* PSTTreeGraphViewController.xib */; }; + 4F1FC8611407441600C343D9 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8601407441600C343D9 /* SenTestingKit.framework */; }; + 4F1FC8621407441600C343D9 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC83F1407441500C343D9 /* UIKit.framework */; }; + 4F1FC8631407441600C343D9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8411407441500C343D9 /* Foundation.framework */; }; + 4F1FC8641407441600C343D9 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8431407441500C343D9 /* CoreGraphics.framework */; }; + 4F1FC86C1407441600C343D9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC86A1407441600C343D9 /* InfoPlist.strings */; }; + 4F1FC86E1407441600C343D9 /* PSTTreeGraphTests.h in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC86D1407441600C343D9 /* PSTTreeGraphTests.h */; }; + 4F1FC8701407441600C343D9 /* PSTTreeGraphTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC86F1407441600C343D9 /* PSTTreeGraphTests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 4F1FC8651407441600C343D9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 4F1FC8321407441500C343D9 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 4F1FC83A1407441500C343D9; + remoteInfo = PSTTreeGraph; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 4F1FC83B1407441500C343D9 /* PSTTreeGraph.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PSTTreeGraph.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 4F1FC83F1407441500C343D9 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 4F1FC8411407441500C343D9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 4F1FC8431407441500C343D9 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 4F1FC8471407441500C343D9 /* PSTTreeGraph-Info.plist */ = {isa = PBXFileReference; path = "PSTTreeGraph-Info.plist"; sourceTree = ""; }; + 4F1FC8491407441500C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 4F1FC84B1407441500C343D9 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 4F1FC84D1407441600C343D9 /* PSTTreeGraph-Prefix.pch */ = {isa = PBXFileReference; path = "PSTTreeGraph-Prefix.pch"; sourceTree = ""; }; + 4F1FC84E1407441600C343D9 /* PSTTreeGraphAppDelegate.h */ = {isa = PBXFileReference; path = PSTTreeGraphAppDelegate.h; sourceTree = ""; }; + 4F1FC84F1407441600C343D9 /* PSTTreeGraphAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PSTTreeGraphAppDelegate.m; sourceTree = ""; }; + 4F1FC8521407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainWindow.xib; sourceTree = ""; }; + 4F1FC8541407441600C343D9 /* PSTTreeGraphViewController.h */ = {isa = PBXFileReference; path = PSTTreeGraphViewController.h; sourceTree = ""; }; + 4F1FC8551407441600C343D9 /* PSTTreeGraphViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PSTTreeGraphViewController.m; sourceTree = ""; }; + 4F1FC8581407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/PSTTreeGraphViewController.xib; sourceTree = ""; }; + 4F1FC85F1407441600C343D9 /* PSTTreeGraphTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PSTTreeGraphTests.octest; sourceTree = BUILT_PRODUCTS_DIR; }; + 4F1FC8601407441600C343D9 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; + 4F1FC8691407441600C343D9 /* PSTTreeGraphTests-Info.plist */ = {isa = PBXFileReference; path = "PSTTreeGraphTests-Info.plist"; sourceTree = ""; }; + 4F1FC86B1407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 4F1FC86D1407441600C343D9 /* PSTTreeGraphTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PSTTreeGraphTests.h; sourceTree = ""; }; + 4F1FC86F1407441600C343D9 /* PSTTreeGraphTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PSTTreeGraphTests.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 4F1FC8381407441500C343D9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F1FC8401407441500C343D9 /* UIKit.framework in Frameworks */, + 4F1FC8421407441500C343D9 /* Foundation.framework in Frameworks */, + 4F1FC8441407441500C343D9 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4F1FC85B1407441600C343D9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F1FC8611407441600C343D9 /* SenTestingKit.framework in Frameworks */, + 4F1FC8621407441600C343D9 /* UIKit.framework in Frameworks */, + 4F1FC8631407441600C343D9 /* Foundation.framework in Frameworks */, + 4F1FC8641407441600C343D9 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4F1FC8301407441500C343D9 = { + isa = PBXGroup; + children = ( + 4F1FC8451407441500C343D9 /* PSTTreeGraph */, + 4F1FC8671407441600C343D9 /* PSTTreeGraphTests */, + 4F1FC83E1407441500C343D9 /* Frameworks */, + 4F1FC83C1407441500C343D9 /* Products */, + ); + sourceTree = ""; + }; + 4F1FC83C1407441500C343D9 /* Products */ = { + isa = PBXGroup; + children = ( + 4F1FC83B1407441500C343D9 /* PSTTreeGraph.app */, + 4F1FC85F1407441600C343D9 /* PSTTreeGraphTests.octest */, + ); + name = Products; + sourceTree = ""; + }; + 4F1FC83E1407441500C343D9 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 4F1FC83F1407441500C343D9 /* UIKit.framework */, + 4F1FC8411407441500C343D9 /* Foundation.framework */, + 4F1FC8431407441500C343D9 /* CoreGraphics.framework */, + 4F1FC8601407441600C343D9 /* SenTestingKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 4F1FC8451407441500C343D9 /* PSTTreeGraph */ = { + isa = PBXGroup; + children = ( + 4F1FC84E1407441600C343D9 /* PSTTreeGraphAppDelegate.h */, + 4F1FC84F1407441600C343D9 /* PSTTreeGraphAppDelegate.m */, + 4F1FC8511407441600C343D9 /* MainWindow.xib */, + 4F1FC8541407441600C343D9 /* PSTTreeGraphViewController.h */, + 4F1FC8551407441600C343D9 /* PSTTreeGraphViewController.m */, + 4F1FC8571407441600C343D9 /* PSTTreeGraphViewController.xib */, + 4F1FC8461407441500C343D9 /* Supporting Files */, + ); + path = PSTTreeGraph; + sourceTree = ""; + }; + 4F1FC8461407441500C343D9 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 4F1FC8471407441500C343D9 /* PSTTreeGraph-Info.plist */, + 4F1FC8481407441500C343D9 /* InfoPlist.strings */, + 4F1FC84B1407441500C343D9 /* main.m */, + 4F1FC84D1407441600C343D9 /* PSTTreeGraph-Prefix.pch */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 4F1FC8671407441600C343D9 /* PSTTreeGraphTests */ = { + isa = PBXGroup; + children = ( + 4F1FC86D1407441600C343D9 /* PSTTreeGraphTests.h */, + 4F1FC86F1407441600C343D9 /* PSTTreeGraphTests.m */, + 4F1FC8681407441600C343D9 /* Supporting Files */, + ); + path = PSTTreeGraphTests; + sourceTree = ""; + }; + 4F1FC8681407441600C343D9 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 4F1FC8691407441600C343D9 /* PSTTreeGraphTests-Info.plist */, + 4F1FC86A1407441600C343D9 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 4F1FC83A1407441500C343D9 /* PSTTreeGraph */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4F1FC8731407441600C343D9 /* Build configuration list for PBXNativeTarget "PSTTreeGraph" */; + buildPhases = ( + 4F1FC8371407441500C343D9 /* Sources */, + 4F1FC8381407441500C343D9 /* Frameworks */, + 4F1FC8391407441500C343D9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PSTTreeGraph; + productName = PSTTreeGraph; + productReference = 4F1FC83B1407441500C343D9 /* PSTTreeGraph.app */; + productType = "com.apple.product-type.application"; + }; + 4F1FC85E1407441600C343D9 /* PSTTreeGraphTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4F1FC8761407441600C343D9 /* Build configuration list for PBXNativeTarget "PSTTreeGraphTests" */; + buildPhases = ( + 4F1FC85A1407441600C343D9 /* Sources */, + 4F1FC85B1407441600C343D9 /* Frameworks */, + 4F1FC85C1407441600C343D9 /* Resources */, + 4F1FC85D1407441600C343D9 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + 4F1FC8661407441600C343D9 /* PBXTargetDependency */, + ); + name = PSTTreeGraphTests; + productName = PSTTreeGraphTests; + productReference = 4F1FC85F1407441600C343D9 /* PSTTreeGraphTests.octest */; + productType = "com.apple.product-type.bundle"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 4F1FC8321407441500C343D9 /* Project object */ = { + isa = PBXProject; + attributes = { + ORGANIZATIONNAME = "Preston Software"; + }; + buildConfigurationList = 4F1FC8351407441500C343D9 /* Build configuration list for PBXProject "PSTTreeGraph" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 4F1FC8301407441500C343D9; + productRefGroup = 4F1FC83C1407441500C343D9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 4F1FC83A1407441500C343D9 /* PSTTreeGraph */, + 4F1FC85E1407441600C343D9 /* PSTTreeGraphTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 4F1FC8391407441500C343D9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F1FC84A1407441500C343D9 /* InfoPlist.strings in Resources */, + 4F1FC8531407441600C343D9 /* MainWindow.xib in Resources */, + 4F1FC8591407441600C343D9 /* PSTTreeGraphViewController.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4F1FC85C1407441600C343D9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F1FC86C1407441600C343D9 /* InfoPlist.strings in Resources */, + 4F1FC86E1407441600C343D9 /* PSTTreeGraphTests.h in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 4F1FC85D1407441600C343D9 /* 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 */ + 4F1FC8371407441500C343D9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F1FC84C1407441500C343D9 /* main.m in Sources */, + 4F1FC8501407441600C343D9 /* PSTTreeGraphAppDelegate.m in Sources */, + 4F1FC8561407441600C343D9 /* PSTTreeGraphViewController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4F1FC85A1407441600C343D9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F1FC8701407441600C343D9 /* PSTTreeGraphTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 4F1FC8661407441600C343D9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 4F1FC83A1407441500C343D9 /* PSTTreeGraph */; + targetProxy = 4F1FC8651407441600C343D9 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 4F1FC8481407441500C343D9 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 4F1FC8491407441500C343D9 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 4F1FC8511407441600C343D9 /* MainWindow.xib */ = { + isa = PBXVariantGroup; + children = ( + 4F1FC8521407441600C343D9 /* en */, + ); + name = MainWindow.xib; + sourceTree = ""; + }; + 4F1FC8571407441600C343D9 /* PSTTreeGraphViewController.xib */ = { + isa = PBXVariantGroup; + children = ( + 4F1FC8581407441600C343D9 /* en */, + ); + name = PSTTreeGraphViewController.xib; + sourceTree = ""; + }; + 4F1FC86A1407441600C343D9 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 4F1FC86B1407441600C343D9 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 4F1FC8711407441600C343D9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_VERSION = com.apple.compilers.llvmgcc42; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 4.3; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = 2; + }; + name = Debug; + }; + 4F1FC8721407441600C343D9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_VERSION = com.apple.compilers.llvmgcc42; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 4.3; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = 2; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 4F1FC8741407441600C343D9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PSTTreeGraph/PSTTreeGraph-Prefix.pch"; + INFOPLIST_FILE = "PSTTreeGraph/PSTTreeGraph-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 4F1FC8751407441600C343D9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PSTTreeGraph/PSTTreeGraph-Prefix.pch"; + INFOPLIST_FILE = "PSTTreeGraph/PSTTreeGraph-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + 4F1FC8771407441600C343D9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/PSTTreeGraph.app/PSTTreeGraph"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(DEVELOPER_LIBRARY_DIR)/Frameworks", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PSTTreeGraph/PSTTreeGraph-Prefix.pch"; + INFOPLIST_FILE = "PSTTreeGraphTests/PSTTreeGraphTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Debug; + }; + 4F1FC8781407441600C343D9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/PSTTreeGraph.app/PSTTreeGraph"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(DEVELOPER_LIBRARY_DIR)/Frameworks", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PSTTreeGraph/PSTTreeGraph-Prefix.pch"; + INFOPLIST_FILE = "PSTTreeGraphTests/PSTTreeGraphTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4F1FC8351407441500C343D9 /* Build configuration list for PBXProject "PSTTreeGraph" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4F1FC8711407441600C343D9 /* Debug */, + 4F1FC8721407441600C343D9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4F1FC8731407441600C343D9 /* Build configuration list for PBXNativeTarget "PSTTreeGraph" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4F1FC8741407441600C343D9 /* Debug */, + 4F1FC8751407441600C343D9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 4F1FC8761407441600C343D9 /* Build configuration list for PBXNativeTarget "PSTTreeGraphTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4F1FC8771407441600C343D9 /* Debug */, + 4F1FC8781407441600C343D9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 4F1FC8321407441500C343D9 /* Project object */; +} diff --git a/PSTTreeGraph/PSTTreeGraph/PSTTreeGraph-Info.plist b/PSTTreeGraph/PSTTreeGraph/PSTTreeGraph-Info.plist new file mode 100644 index 0000000..b8f71c7 --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraph/PSTTreeGraph-Info.plist @@ -0,0 +1,39 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.prestonsoft.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + NSMainNibFile + MainWindow + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/PSTTreeGraph/PSTTreeGraph/PSTTreeGraph-Prefix.pch b/PSTTreeGraph/PSTTreeGraph/PSTTreeGraph-Prefix.pch new file mode 100644 index 0000000..fe6d3f7 --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraph/PSTTreeGraph-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'PSTTreeGraph' target in the 'PSTTreeGraph' project +// + +#import + +#ifndef __IPHONE_3_0 +#warning "This project uses features only available in iPhone SDK 3.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/PSTTreeGraph/PSTTreeGraph/PSTTreeGraphAppDelegate.h b/PSTTreeGraph/PSTTreeGraph/PSTTreeGraphAppDelegate.h new file mode 100644 index 0000000..ff96fb1 --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraph/PSTTreeGraphAppDelegate.h @@ -0,0 +1,19 @@ +// +// PSTTreeGraphAppDelegate.h +// PSTTreeGraph +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import + +@class PSTTreeGraphViewController; + +@interface PSTTreeGraphAppDelegate : NSObject + +@property (nonatomic, retain) IBOutlet UIWindow *window; + +@property (nonatomic, retain) IBOutlet PSTTreeGraphViewController *viewController; + +@end diff --git a/PSTTreeGraph/PSTTreeGraph/PSTTreeGraphAppDelegate.m b/PSTTreeGraph/PSTTreeGraph/PSTTreeGraphAppDelegate.m new file mode 100644 index 0000000..fbe78ed --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraph/PSTTreeGraphAppDelegate.m @@ -0,0 +1,73 @@ +// +// PSTTreeGraphAppDelegate.m +// PSTTreeGraph +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import "PSTTreeGraphAppDelegate.h" + +#import "PSTTreeGraphViewController.h" + +@implementation PSTTreeGraphAppDelegate + +@synthesize window = _window; +@synthesize viewController = _viewController; + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + // Override point for customization after application launch. + + self.window.rootViewController = self.viewController; + [self.window makeKeyAndVisible]; + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + /* + Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + */ +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + /* + Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + */ +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + /* + Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. + */ +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + /* + Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + */ +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + /* + Called when the application is about to terminate. + Save data if appropriate. + See also applicationDidEnterBackground:. + */ +} + +- (void)dealloc +{ + [_window release]; + [_viewController release]; + [super dealloc]; +} + +@end diff --git a/PSTTreeGraph/PSTTreeGraph/PSTTreeGraphViewController.h b/PSTTreeGraph/PSTTreeGraph/PSTTreeGraphViewController.h new file mode 100644 index 0000000..53baa79 --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraph/PSTTreeGraphViewController.h @@ -0,0 +1,13 @@ +// +// PSTTreeGraphViewController.h +// PSTTreeGraph +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import + +@interface PSTTreeGraphViewController : UIViewController + +@end diff --git a/PSTTreeGraph/PSTTreeGraph/PSTTreeGraphViewController.m b/PSTTreeGraph/PSTTreeGraph/PSTTreeGraphViewController.m new file mode 100644 index 0000000..533d939 --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraph/PSTTreeGraphViewController.m @@ -0,0 +1,44 @@ +// +// PSTTreeGraphViewController.m +// PSTTreeGraph +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import "PSTTreeGraphViewController.h" + +@implementation PSTTreeGraphViewController + +- (void)didReceiveMemoryWarning +{ + // Releases the view if it doesn't have a superview. + [super didReceiveMemoryWarning]; + + // Release any cached data, images, etc that aren't in use. +} + +#pragma mark - View lifecycle + +/* +// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. +- (void)viewDidLoad +{ + [super viewDidLoad]; +} +*/ + +- (void)viewDidUnload +{ + [super viewDidUnload]; + // Release any retained subviews of the main view. + // e.g. self.myOutlet = nil; +} + +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation +{ + // Return YES for supported orientations + return YES; +} + +@end diff --git a/PSTTreeGraph/PSTTreeGraph/en.lproj/InfoPlist.strings b/PSTTreeGraph/PSTTreeGraph/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraph/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/PSTTreeGraph/PSTTreeGraph/en.lproj/MainWindow.xib b/PSTTreeGraph/PSTTreeGraph/en.lproj/MainWindow.xib new file mode 100644 index 0000000..4547152 --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraph/en.lproj/MainWindow.xib @@ -0,0 +1,436 @@ + + + + 800 + 10D540 + 760 + 1038.29 + 460.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 81 + + + YES + + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + YES + + YES + + + YES + + + + YES + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 292 + {768, 1024} + + + 1 + MSAxIDEAA + + NO + NO + + 2 + + IBIPadFramework + YES + + + IBIPadFramework + + + PSTTreeGraphViewController + + IBIPadFramework + + + + + YES + + + viewController + + + + 8 + + + + delegate + + + + 9 + + + + window + + + + 10 + + + + + YES + + 0 + + + + + + -1 + + + File's Owner + + + -2 + + + + + 2 + + + + + 6 + + + PSTTreeGraph App Delegate + + + 7 + + + + + + + YES + + YES + -1.CustomClassName + -2.CustomClassName + 2.IBEditorWindowLastContentRect + 2.IBPluginDependency + 6.CustomClassName + 6.IBPluginDependency + 7.CustomClassName + 7.IBEditorWindowLastContentRect + 7.IBPluginDependency + + + YES + UIApplication + UIResponder + {{200, 57}, {783, 799}} + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + PSTTreeGraphAppDelegate + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + PSTTreeGraphViewController + {{512, 351}, {320, 480}} + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + YES + + + + + YES + + + YES + + + + 10 + + + + YES + + PSTTreeGraphAppDelegate + NSObject + + YES + + YES + viewController + window + + + YES + PSTTreeGraphViewController + UIWindow + + + + IBProjectSource + PSTTreeGraphAppDelegate.h + + + + PSTTreeGraphViewController + UIViewController + + IBProjectSource + PSTTreeGraphViewController.h + + + + + YES + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSError.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSFileManager.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueCoding.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueObserving.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyedArchiver.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSNetServices.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSObject.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSPort.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSRunLoop.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSStream.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSThread.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURL.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURLConnection.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSXMLParser.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIAccessibility.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UINibLoading.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIResponder.h + + + + UIApplication + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIApplication.h + + + + UIResponder + NSObject + + + + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UITextInput.h + + + + UISearchBar + UIView + + IBFrameworkSource + UIKit.framework/Headers/UISearchBar.h + + + + UISearchDisplayController + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UISearchDisplayController.h + + + + UIView + + IBFrameworkSource + UIKit.framework/Headers/UITextField.h + + + + UIView + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIView.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UINavigationController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UISplitViewController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UITabBarController.h + + + + UIViewController + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIViewController.h + + + + UIWindow + UIView + + IBFrameworkSource + UIKit.framework/Headers/UIWindow.h + + + + + 0 + IBIPadFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + PSTTreeGraph.xcodeproj + 3 + 81 + + diff --git a/PSTTreeGraph/PSTTreeGraph/en.lproj/PSTTreeGraphViewController.xib b/PSTTreeGraph/PSTTreeGraph/en.lproj/PSTTreeGraphViewController.xib new file mode 100644 index 0000000..cd42786 --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraph/en.lproj/PSTTreeGraphViewController.xib @@ -0,0 +1,354 @@ + + + + 800 + 10C540 + 760 + 1038.25 + 458.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 82 + + + YES + + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + YES + + YES + + + YES + + + + YES + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + {768, 1004} + + + 3 + MQA + + 2 + + + + 2 + + IBIPadFramework + + + + + YES + + + view + + + + 3 + + + + + YES + + 0 + + + + + + -1 + + + File's Owner + + + -2 + + + + + 2 + + + + + + + YES + + YES + -1.CustomClassName + -2.CustomClassName + 2.IBEditorWindowLastContentRect + 2.IBPluginDependency + + + YES + PSTTreeGraphViewController + UIResponder + {{513, 0}, {783, 856}} + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + YES + + + + + YES + + + YES + + + + 3 + + + + YES + + PSTTreeGraphViewController + UIViewController + + IBProjectSource + PSTTreeGraphViewController.h + + + + + YES + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSError.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSFileManager.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueCoding.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueObserving.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyedArchiver.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSNetServices.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSObject.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSPort.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSRunLoop.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSStream.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSThread.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURL.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURLConnection.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSXMLParser.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIAccessibility.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UINibLoading.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIResponder.h + + + + UIResponder + NSObject + + + + UISearchBar + UIView + + IBFrameworkSource + UIKit.framework/Headers/UISearchBar.h + + + + UISearchDisplayController + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UISearchDisplayController.h + + + + UIView + + IBFrameworkSource + UIKit.framework/Headers/UITextField.h + + + + UIView + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIView.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UINavigationController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UIPopoverController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UISplitViewController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UITabBarController.h + + + + UIViewController + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIViewController.h + + + + + 0 + IBIPadFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + PSTTreeGraph.xcodeproj + 3 + 82 + + diff --git a/PSTTreeGraph/PSTTreeGraph/main.m b/PSTTreeGraph/PSTTreeGraph/main.m new file mode 100644 index 0000000..3d4f1db --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraph/main.m @@ -0,0 +1,17 @@ +// +// main.m +// PSTTreeGraph +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import + +int main(int argc, char *argv[]) +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + int retVal = UIApplicationMain(argc, argv, nil, nil); + [pool release]; + return retVal; +} diff --git a/PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests-Info.plist b/PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests-Info.plist new file mode 100644 index 0000000..bb2e1d2 --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.prestonsoft.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests.h b/PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests.h new file mode 100644 index 0000000..5767086 --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests.h @@ -0,0 +1,13 @@ +// +// PSTTreeGraphTests.h +// PSTTreeGraphTests +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import + +@interface PSTTreeGraphTests : SenTestCase + +@end diff --git a/PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests.m b/PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests.m new file mode 100644 index 0000000..5a50b34 --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests.m @@ -0,0 +1,32 @@ +// +// PSTTreeGraphTests.m +// PSTTreeGraphTests +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import "PSTTreeGraphTests.h" + +@implementation PSTTreeGraphTests + +- (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 PSTTreeGraphTests"); +} + +@end diff --git a/PSTTreeGraph/PSTTreeGraphTests/en.lproj/InfoPlist.strings b/PSTTreeGraph/PSTTreeGraphTests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/PSTTreeGraph/PSTTreeGraphTests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/PSTreeGraphView/PSBaseLeafView.m b/PSTreeGraphView/PSBaseLeafView.m index 86e12a7..88e389e 100644 --- a/PSTreeGraphView/PSBaseLeafView.m +++ b/PSTreeGraphView/PSBaseLeafView.m @@ -75,6 +75,7 @@ - (void) configureDetaults borderWidth = 3.0; cornerRadius = 8.0; fillColor = [[UIColor colorWithRed:1.0 green:0.5 blue:0.0 alpha:1.0] retain]; + showingSelected = NO; [self updateLayerAppearanceToMatchContainerView]; } diff --git a/Unit Tests/PSTTreeGraph.xcodeproj/project.pbxproj b/Unit Tests/PSTTreeGraph.xcodeproj/project.pbxproj new file mode 100644 index 0000000..9cedaf5 --- /dev/null +++ b/Unit Tests/PSTTreeGraph.xcodeproj/project.pbxproj @@ -0,0 +1,549 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 4F1FC8401407441500C343D9 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC83F1407441500C343D9 /* UIKit.framework */; }; + 4F1FC8421407441500C343D9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8411407441500C343D9 /* Foundation.framework */; }; + 4F1FC8441407441500C343D9 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8431407441500C343D9 /* CoreGraphics.framework */; }; + 4F1FC84A1407441500C343D9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC8481407441500C343D9 /* InfoPlist.strings */; }; + 4F1FC84C1407441500C343D9 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC84B1407441500C343D9 /* main.m */; }; + 4F1FC8501407441600C343D9 /* PSTTreeGraphAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC84F1407441600C343D9 /* PSTTreeGraphAppDelegate.m */; }; + 4F1FC8531407441600C343D9 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC8511407441600C343D9 /* MainWindow.xib */; }; + 4F1FC8561407441600C343D9 /* PSTTreeGraphViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC8551407441600C343D9 /* PSTTreeGraphViewController.m */; }; + 4F1FC8591407441600C343D9 /* PSTTreeGraphViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC8571407441600C343D9 /* PSTTreeGraphViewController.xib */; }; + 4F1FC8611407441600C343D9 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8601407441600C343D9 /* SenTestingKit.framework */; }; + 4F1FC8621407441600C343D9 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC83F1407441500C343D9 /* UIKit.framework */; }; + 4F1FC8631407441600C343D9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8411407441500C343D9 /* Foundation.framework */; }; + 4F1FC8641407441600C343D9 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8431407441500C343D9 /* CoreGraphics.framework */; }; + 4F1FC86C1407441600C343D9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC86A1407441600C343D9 /* InfoPlist.strings */; }; + 4F1FC89714074E3300C343D9 /* PSBaseBranchView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC88E14074E3300C343D9 /* PSBaseBranchView.m */; }; + 4F1FC89814074E3300C343D9 /* PSBaseLeafView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC89014074E3300C343D9 /* PSBaseLeafView.m */; }; + 4F1FC89914074E3300C343D9 /* PSBaseSubtreeView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC89214074E3300C343D9 /* PSBaseSubtreeView.m */; }; + 4F1FC89A14074E3300C343D9 /* PSBaseTreeGraphView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC89414074E3300C343D9 /* PSBaseTreeGraphView.m */; }; + 4F1FC8B3140755CD00C343D9 /* BranchTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC8AC140755CD00C343D9 /* BranchTests.m */; }; + 4F1FC8B4140755CD00C343D9 /* GraphTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC8AE140755CD00C343D9 /* GraphTests.m */; }; + 4F1FC8B5140755CD00C343D9 /* LeafTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC8B0140755CD00C343D9 /* LeafTests.m */; }; + 4F1FC8B6140755CD00C343D9 /* SubTreeTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC8B2140755CD00C343D9 /* SubTreeTests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 4F1FC8651407441600C343D9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 4F1FC8321407441500C343D9 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 4F1FC83A1407441500C343D9; + remoteInfo = PSTTreeGraph; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 4F1FC83B1407441500C343D9 /* PSTTreeGraph.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PSTTreeGraph.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 4F1FC83F1407441500C343D9 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 4F1FC8411407441500C343D9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 4F1FC8431407441500C343D9 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 4F1FC8471407441500C343D9 /* PSTTreeGraph-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PSTTreeGraph-Info.plist"; sourceTree = ""; }; + 4F1FC8491407441500C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 4F1FC84B1407441500C343D9 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 4F1FC84D1407441600C343D9 /* PSTTreeGraph-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PSTTreeGraph-Prefix.pch"; sourceTree = ""; }; + 4F1FC84E1407441600C343D9 /* PSTTreeGraphAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PSTTreeGraphAppDelegate.h; sourceTree = ""; }; + 4F1FC84F1407441600C343D9 /* PSTTreeGraphAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PSTTreeGraphAppDelegate.m; sourceTree = ""; }; + 4F1FC8521407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainWindow.xib; sourceTree = ""; }; + 4F1FC8541407441600C343D9 /* PSTTreeGraphViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PSTTreeGraphViewController.h; sourceTree = ""; }; + 4F1FC8551407441600C343D9 /* PSTTreeGraphViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PSTTreeGraphViewController.m; sourceTree = ""; }; + 4F1FC8581407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/PSTTreeGraphViewController.xib; sourceTree = ""; }; + 4F1FC85F1407441600C343D9 /* PSTTreeGraphTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PSTTreeGraphTests.octest; sourceTree = BUILT_PRODUCTS_DIR; }; + 4F1FC8601407441600C343D9 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; + 4F1FC8691407441600C343D9 /* PSTTreeGraphTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PSTTreeGraphTests-Info.plist"; sourceTree = ""; }; + 4F1FC86B1407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 4F1FC88D14074E3300C343D9 /* PSBaseBranchView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseBranchView.h; sourceTree = ""; }; + 4F1FC88E14074E3300C343D9 /* PSBaseBranchView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PSBaseBranchView.m; sourceTree = ""; }; + 4F1FC88F14074E3300C343D9 /* PSBaseLeafView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseLeafView.h; sourceTree = ""; }; + 4F1FC89014074E3300C343D9 /* PSBaseLeafView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PSBaseLeafView.m; sourceTree = ""; }; + 4F1FC89114074E3300C343D9 /* PSBaseSubtreeView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseSubtreeView.h; sourceTree = ""; }; + 4F1FC89214074E3300C343D9 /* PSBaseSubtreeView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PSBaseSubtreeView.m; sourceTree = ""; }; + 4F1FC89314074E3300C343D9 /* PSBaseTreeGraphView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseTreeGraphView.h; sourceTree = ""; }; + 4F1FC89414074E3300C343D9 /* PSBaseTreeGraphView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PSBaseTreeGraphView.m; sourceTree = ""; }; + 4F1FC89514074E3300C343D9 /* PSBaseTreeGraphView_Internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseTreeGraphView_Internal.h; sourceTree = ""; }; + 4F1FC89614074E3300C343D9 /* PSTreeGraphModelNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSTreeGraphModelNode.h; sourceTree = ""; }; + 4F1FC8AB140755CD00C343D9 /* BranchTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BranchTests.h; sourceTree = ""; }; + 4F1FC8AC140755CD00C343D9 /* BranchTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BranchTests.m; sourceTree = ""; }; + 4F1FC8AD140755CD00C343D9 /* GraphTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GraphTests.h; sourceTree = ""; }; + 4F1FC8AE140755CD00C343D9 /* GraphTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GraphTests.m; sourceTree = ""; }; + 4F1FC8AF140755CD00C343D9 /* LeafTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LeafTests.h; sourceTree = ""; }; + 4F1FC8B0140755CD00C343D9 /* LeafTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LeafTests.m; sourceTree = ""; }; + 4F1FC8B1140755CD00C343D9 /* SubTreeTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SubTreeTests.h; sourceTree = ""; }; + 4F1FC8B2140755CD00C343D9 /* SubTreeTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SubTreeTests.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 4F1FC8381407441500C343D9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F1FC8401407441500C343D9 /* UIKit.framework in Frameworks */, + 4F1FC8421407441500C343D9 /* Foundation.framework in Frameworks */, + 4F1FC8441407441500C343D9 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4F1FC85B1407441600C343D9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F1FC8611407441600C343D9 /* SenTestingKit.framework in Frameworks */, + 4F1FC8621407441600C343D9 /* UIKit.framework in Frameworks */, + 4F1FC8631407441600C343D9 /* Foundation.framework in Frameworks */, + 4F1FC8641407441600C343D9 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4F1FC8301407441500C343D9 = { + isa = PBXGroup; + children = ( + 4F1FC8451407441500C343D9 /* PSTTreeGraph */, + 4F1FC8671407441600C343D9 /* PSTTreeGraphTests */, + 4F1FC83E1407441500C343D9 /* Frameworks */, + 4F1FC83C1407441500C343D9 /* Products */, + ); + sourceTree = ""; + }; + 4F1FC83C1407441500C343D9 /* Products */ = { + isa = PBXGroup; + children = ( + 4F1FC83B1407441500C343D9 /* PSTTreeGraph.app */, + 4F1FC85F1407441600C343D9 /* PSTTreeGraphTests.octest */, + ); + name = Products; + sourceTree = ""; + }; + 4F1FC83E1407441500C343D9 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 4F1FC83F1407441500C343D9 /* UIKit.framework */, + 4F1FC8411407441500C343D9 /* Foundation.framework */, + 4F1FC8431407441500C343D9 /* CoreGraphics.framework */, + 4F1FC8601407441600C343D9 /* SenTestingKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 4F1FC8451407441500C343D9 /* PSTTreeGraph */ = { + isa = PBXGroup; + children = ( + 4F1FC88814074D6F00C343D9 /* Controller */, + 4F1FC88A14074D7800C343D9 /* View */, + 4F1FC88B14074D8100C343D9 /* Model */, + 4F1FC8461407441500C343D9 /* Supporting Files */, + ); + path = PSTTreeGraph; + sourceTree = ""; + }; + 4F1FC8461407441500C343D9 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 4F1FC8A4140751EF00C343D9 /* Interface */, + 4F1FC8471407441500C343D9 /* PSTTreeGraph-Info.plist */, + 4F1FC8481407441500C343D9 /* InfoPlist.strings */, + 4F1FC84B1407441500C343D9 /* main.m */, + 4F1FC84D1407441600C343D9 /* PSTTreeGraph-Prefix.pch */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 4F1FC8671407441600C343D9 /* PSTTreeGraphTests */ = { + isa = PBXGroup; + children = ( + 4F1FC8AD140755CD00C343D9 /* GraphTests.h */, + 4F1FC8AE140755CD00C343D9 /* GraphTests.m */, + 4F1FC8B1140755CD00C343D9 /* SubTreeTests.h */, + 4F1FC8B2140755CD00C343D9 /* SubTreeTests.m */, + 4F1FC8AB140755CD00C343D9 /* BranchTests.h */, + 4F1FC8AC140755CD00C343D9 /* BranchTests.m */, + 4F1FC8AF140755CD00C343D9 /* LeafTests.h */, + 4F1FC8B0140755CD00C343D9 /* LeafTests.m */, + 4F1FC8681407441600C343D9 /* Supporting Files */, + ); + path = PSTTreeGraphTests; + sourceTree = ""; + }; + 4F1FC8681407441600C343D9 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 4F1FC8691407441600C343D9 /* PSTTreeGraphTests-Info.plist */, + 4F1FC86A1407441600C343D9 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 4F1FC88814074D6F00C343D9 /* Controller */ = { + isa = PBXGroup; + children = ( + 4F1FC84E1407441600C343D9 /* PSTTreeGraphAppDelegate.h */, + 4F1FC84F1407441600C343D9 /* PSTTreeGraphAppDelegate.m */, + 4F1FC8541407441600C343D9 /* PSTTreeGraphViewController.h */, + 4F1FC8551407441600C343D9 /* PSTTreeGraphViewController.m */, + ); + name = Controller; + sourceTree = ""; + }; + 4F1FC88A14074D7800C343D9 /* View */ = { + isa = PBXGroup; + children = ( + 4F1FC88C14074E3300C343D9 /* PSTreeGraphView */, + ); + name = View; + sourceTree = ""; + }; + 4F1FC88B14074D8100C343D9 /* Model */ = { + isa = PBXGroup; + children = ( + ); + name = Model; + sourceTree = ""; + }; + 4F1FC88C14074E3300C343D9 /* PSTreeGraphView */ = { + isa = PBXGroup; + children = ( + 4F1FC88D14074E3300C343D9 /* PSBaseBranchView.h */, + 4F1FC88E14074E3300C343D9 /* PSBaseBranchView.m */, + 4F1FC88F14074E3300C343D9 /* PSBaseLeafView.h */, + 4F1FC89014074E3300C343D9 /* PSBaseLeafView.m */, + 4F1FC89114074E3300C343D9 /* PSBaseSubtreeView.h */, + 4F1FC89214074E3300C343D9 /* PSBaseSubtreeView.m */, + 4F1FC89314074E3300C343D9 /* PSBaseTreeGraphView.h */, + 4F1FC89414074E3300C343D9 /* PSBaseTreeGraphView.m */, + 4F1FC89514074E3300C343D9 /* PSBaseTreeGraphView_Internal.h */, + 4F1FC89614074E3300C343D9 /* PSTreeGraphModelNode.h */, + ); + name = PSTreeGraphView; + path = ../../PSTreeGraphView; + sourceTree = ""; + }; + 4F1FC8A4140751EF00C343D9 /* Interface */ = { + isa = PBXGroup; + children = ( + 4F1FC8571407441600C343D9 /* PSTTreeGraphViewController.xib */, + 4F1FC8511407441600C343D9 /* MainWindow.xib */, + ); + name = Interface; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 4F1FC83A1407441500C343D9 /* PSTTreeGraph */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4F1FC8731407441600C343D9 /* Build configuration list for PBXNativeTarget "PSTTreeGraph" */; + buildPhases = ( + 4F1FC8371407441500C343D9 /* Sources */, + 4F1FC8381407441500C343D9 /* Frameworks */, + 4F1FC8391407441500C343D9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PSTTreeGraph; + productName = PSTTreeGraph; + productReference = 4F1FC83B1407441500C343D9 /* PSTTreeGraph.app */; + productType = "com.apple.product-type.application"; + }; + 4F1FC85E1407441600C343D9 /* PSTTreeGraphTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4F1FC8761407441600C343D9 /* Build configuration list for PBXNativeTarget "PSTTreeGraphTests" */; + buildPhases = ( + 4F1FC85A1407441600C343D9 /* Sources */, + 4F1FC85B1407441600C343D9 /* Frameworks */, + 4F1FC85C1407441600C343D9 /* Resources */, + 4F1FC85D1407441600C343D9 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + 4F1FC8661407441600C343D9 /* PBXTargetDependency */, + ); + name = PSTTreeGraphTests; + productName = PSTTreeGraphTests; + productReference = 4F1FC85F1407441600C343D9 /* PSTTreeGraphTests.octest */; + productType = "com.apple.product-type.bundle"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 4F1FC8321407441500C343D9 /* Project object */ = { + isa = PBXProject; + attributes = { + ORGANIZATIONNAME = "Preston Software"; + }; + buildConfigurationList = 4F1FC8351407441500C343D9 /* Build configuration list for PBXProject "PSTTreeGraph" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 4F1FC8301407441500C343D9; + productRefGroup = 4F1FC83C1407441500C343D9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 4F1FC83A1407441500C343D9 /* PSTTreeGraph */, + 4F1FC85E1407441600C343D9 /* PSTTreeGraphTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 4F1FC8391407441500C343D9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F1FC84A1407441500C343D9 /* InfoPlist.strings in Resources */, + 4F1FC8531407441600C343D9 /* MainWindow.xib in Resources */, + 4F1FC8591407441600C343D9 /* PSTTreeGraphViewController.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4F1FC85C1407441600C343D9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F1FC86C1407441600C343D9 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 4F1FC85D1407441600C343D9 /* 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 */ + 4F1FC8371407441500C343D9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F1FC84C1407441500C343D9 /* main.m in Sources */, + 4F1FC8501407441600C343D9 /* PSTTreeGraphAppDelegate.m in Sources */, + 4F1FC8561407441600C343D9 /* PSTTreeGraphViewController.m in Sources */, + 4F1FC89714074E3300C343D9 /* PSBaseBranchView.m in Sources */, + 4F1FC89814074E3300C343D9 /* PSBaseLeafView.m in Sources */, + 4F1FC89914074E3300C343D9 /* PSBaseSubtreeView.m in Sources */, + 4F1FC89A14074E3300C343D9 /* PSBaseTreeGraphView.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4F1FC85A1407441600C343D9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F1FC8B3140755CD00C343D9 /* BranchTests.m in Sources */, + 4F1FC8B4140755CD00C343D9 /* GraphTests.m in Sources */, + 4F1FC8B5140755CD00C343D9 /* LeafTests.m in Sources */, + 4F1FC8B6140755CD00C343D9 /* SubTreeTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 4F1FC8661407441600C343D9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 4F1FC83A1407441500C343D9 /* PSTTreeGraph */; + targetProxy = 4F1FC8651407441600C343D9 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 4F1FC8481407441500C343D9 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 4F1FC8491407441500C343D9 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 4F1FC8511407441600C343D9 /* MainWindow.xib */ = { + isa = PBXVariantGroup; + children = ( + 4F1FC8521407441600C343D9 /* en */, + ); + name = MainWindow.xib; + sourceTree = ""; + }; + 4F1FC8571407441600C343D9 /* PSTTreeGraphViewController.xib */ = { + isa = PBXVariantGroup; + children = ( + 4F1FC8581407441600C343D9 /* en */, + ); + name = PSTTreeGraphViewController.xib; + sourceTree = ""; + }; + 4F1FC86A1407441600C343D9 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 4F1FC86B1407441600C343D9 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 4F1FC8711407441600C343D9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + 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_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 4.3; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = 2; + }; + name = Debug; + }; + 4F1FC8721407441600C343D9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 4.3; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = 2; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 4F1FC8741407441600C343D9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PSTTreeGraph/PSTTreeGraph-Prefix.pch"; + INFOPLIST_FILE = "PSTTreeGraph/PSTTreeGraph-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 4F1FC8751407441600C343D9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PSTTreeGraph/PSTTreeGraph-Prefix.pch"; + INFOPLIST_FILE = "PSTTreeGraph/PSTTreeGraph-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + 4F1FC8771407441600C343D9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/PSTTreeGraph.app/PSTTreeGraph"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(DEVELOPER_LIBRARY_DIR)/Frameworks", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PSTTreeGraph/PSTTreeGraph-Prefix.pch"; + INFOPLIST_FILE = "PSTTreeGraphTests/PSTTreeGraphTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Debug; + }; + 4F1FC8781407441600C343D9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/PSTTreeGraph.app/PSTTreeGraph"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(DEVELOPER_LIBRARY_DIR)/Frameworks", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PSTTreeGraph/PSTTreeGraph-Prefix.pch"; + INFOPLIST_FILE = "PSTTreeGraphTests/PSTTreeGraphTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = octest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4F1FC8351407441500C343D9 /* Build configuration list for PBXProject "PSTTreeGraph" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4F1FC8711407441600C343D9 /* Debug */, + 4F1FC8721407441600C343D9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4F1FC8731407441600C343D9 /* Build configuration list for PBXNativeTarget "PSTTreeGraph" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4F1FC8741407441600C343D9 /* Debug */, + 4F1FC8751407441600C343D9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4F1FC8761407441600C343D9 /* Build configuration list for PBXNativeTarget "PSTTreeGraphTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4F1FC8771407441600C343D9 /* Debug */, + 4F1FC8781407441600C343D9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 4F1FC8321407441500C343D9 /* Project object */; +} diff --git a/Unit Tests/PSTTreeGraph/PSTTreeGraph-Info.plist b/Unit Tests/PSTTreeGraph/PSTTreeGraph-Info.plist new file mode 100644 index 0000000..b8f71c7 --- /dev/null +++ b/Unit Tests/PSTTreeGraph/PSTTreeGraph-Info.plist @@ -0,0 +1,39 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.prestonsoft.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + NSMainNibFile + MainWindow + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Unit Tests/PSTTreeGraph/PSTTreeGraph-Prefix.pch b/Unit Tests/PSTTreeGraph/PSTTreeGraph-Prefix.pch new file mode 100644 index 0000000..fe6d3f7 --- /dev/null +++ b/Unit Tests/PSTTreeGraph/PSTTreeGraph-Prefix.pch @@ -0,0 +1,14 @@ +// +// Prefix header for all source files of the 'PSTTreeGraph' target in the 'PSTTreeGraph' project +// + +#import + +#ifndef __IPHONE_3_0 +#warning "This project uses features only available in iPhone SDK 3.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/Unit Tests/PSTTreeGraph/PSTTreeGraphAppDelegate.h b/Unit Tests/PSTTreeGraph/PSTTreeGraphAppDelegate.h new file mode 100644 index 0000000..42a1f6f --- /dev/null +++ b/Unit Tests/PSTTreeGraph/PSTTreeGraphAppDelegate.h @@ -0,0 +1,18 @@ +// +// PSTTreeGraphAppDelegate.h +// PSTTreeGraph +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import + +@class PSTTreeGraphViewController; + +@interface PSTTreeGraphAppDelegate : NSObject + +@property (nonatomic, retain) IBOutlet UIWindow *window; +@property (nonatomic, retain) IBOutlet PSTTreeGraphViewController *viewController; + +@end diff --git a/Unit Tests/PSTTreeGraph/PSTTreeGraphAppDelegate.m b/Unit Tests/PSTTreeGraph/PSTTreeGraphAppDelegate.m new file mode 100644 index 0000000..7cfcc2f --- /dev/null +++ b/Unit Tests/PSTTreeGraph/PSTTreeGraphAppDelegate.m @@ -0,0 +1,73 @@ +// +// PSTTreeGraphAppDelegate.m +// PSTTreeGraph +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import "PSTTreeGraphAppDelegate.h" + +#import "PSTTreeGraphViewController.h" + +@implementation PSTTreeGraphAppDelegate + +@synthesize window = _window; +@synthesize viewController = _viewController; + +- (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + // Override point for customization after application launch. + + self.window.rootViewController = self.viewController; + [self.window makeKeyAndVisible]; + return YES; +} + +- (void) applicationWillResignActive:(UIApplication *)application +{ + /* + Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + */ +} + +- (void) applicationDidEnterBackground:(UIApplication *)application +{ + /* + Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + */ +} + +- (void) applicationWillEnterForeground:(UIApplication *)application +{ + /* + Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. + */ +} + +- (void) applicationDidBecomeActive:(UIApplication *)application +{ + /* + Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + */ +} + +- (void) applicationWillTerminate:(UIApplication *)application +{ + /* + Called when the application is about to terminate. + Save data if appropriate. + See also applicationDidEnterBackground:. + */ +} + +- (void) dealloc +{ + [_window release]; + [_viewController release]; + [super dealloc]; +} + +@end diff --git a/Unit Tests/PSTTreeGraph/PSTTreeGraphViewController.h b/Unit Tests/PSTTreeGraph/PSTTreeGraphViewController.h new file mode 100644 index 0000000..53baa79 --- /dev/null +++ b/Unit Tests/PSTTreeGraph/PSTTreeGraphViewController.h @@ -0,0 +1,13 @@ +// +// PSTTreeGraphViewController.h +// PSTTreeGraph +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import + +@interface PSTTreeGraphViewController : UIViewController + +@end diff --git a/Unit Tests/PSTTreeGraph/PSTTreeGraphViewController.m b/Unit Tests/PSTTreeGraph/PSTTreeGraphViewController.m new file mode 100644 index 0000000..1f0e29e --- /dev/null +++ b/Unit Tests/PSTTreeGraph/PSTTreeGraphViewController.m @@ -0,0 +1,44 @@ +// +// PSTTreeGraphViewController.m +// PSTTreeGraph +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import "PSTTreeGraphViewController.h" + +@implementation PSTTreeGraphViewController + +- (void) didReceiveMemoryWarning +{ + // Releases the view if it doesn't have a superview. + [super didReceiveMemoryWarning]; + + // Release any cached data, images, etc that aren't in use. +} + +#pragma mark - View lifecycle + +/* +// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. +- (void)viewDidLoad +{ + [super viewDidLoad]; +} +*/ + +- (void) viewDidUnload +{ + [super viewDidUnload]; + // Release any retained subviews of the main view. + // e.g. self.myOutlet = nil; +} + +- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation +{ + // Return YES for supported orientations + return YES; +} + +@end diff --git a/Unit Tests/PSTTreeGraph/en.lproj/InfoPlist.strings b/Unit Tests/PSTTreeGraph/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Unit Tests/PSTTreeGraph/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Unit Tests/PSTTreeGraph/en.lproj/MainWindow.xib b/Unit Tests/PSTTreeGraph/en.lproj/MainWindow.xib new file mode 100644 index 0000000..4547152 --- /dev/null +++ b/Unit Tests/PSTTreeGraph/en.lproj/MainWindow.xib @@ -0,0 +1,436 @@ + + + + 800 + 10D540 + 760 + 1038.29 + 460.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 81 + + + YES + + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + YES + + YES + + + YES + + + + YES + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 292 + {768, 1024} + + + 1 + MSAxIDEAA + + NO + NO + + 2 + + IBIPadFramework + YES + + + IBIPadFramework + + + PSTTreeGraphViewController + + IBIPadFramework + + + + + YES + + + viewController + + + + 8 + + + + delegate + + + + 9 + + + + window + + + + 10 + + + + + YES + + 0 + + + + + + -1 + + + File's Owner + + + -2 + + + + + 2 + + + + + 6 + + + PSTTreeGraph App Delegate + + + 7 + + + + + + + YES + + YES + -1.CustomClassName + -2.CustomClassName + 2.IBEditorWindowLastContentRect + 2.IBPluginDependency + 6.CustomClassName + 6.IBPluginDependency + 7.CustomClassName + 7.IBEditorWindowLastContentRect + 7.IBPluginDependency + + + YES + UIApplication + UIResponder + {{200, 57}, {783, 799}} + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + PSTTreeGraphAppDelegate + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + PSTTreeGraphViewController + {{512, 351}, {320, 480}} + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + YES + + + + + YES + + + YES + + + + 10 + + + + YES + + PSTTreeGraphAppDelegate + NSObject + + YES + + YES + viewController + window + + + YES + PSTTreeGraphViewController + UIWindow + + + + IBProjectSource + PSTTreeGraphAppDelegate.h + + + + PSTTreeGraphViewController + UIViewController + + IBProjectSource + PSTTreeGraphViewController.h + + + + + YES + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSError.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSFileManager.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueCoding.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueObserving.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyedArchiver.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSNetServices.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSObject.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSPort.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSRunLoop.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSStream.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSThread.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURL.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURLConnection.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSXMLParser.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIAccessibility.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UINibLoading.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIResponder.h + + + + UIApplication + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIApplication.h + + + + UIResponder + NSObject + + + + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UITextInput.h + + + + UISearchBar + UIView + + IBFrameworkSource + UIKit.framework/Headers/UISearchBar.h + + + + UISearchDisplayController + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UISearchDisplayController.h + + + + UIView + + IBFrameworkSource + UIKit.framework/Headers/UITextField.h + + + + UIView + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIView.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UINavigationController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UISplitViewController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UITabBarController.h + + + + UIViewController + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIViewController.h + + + + UIWindow + UIView + + IBFrameworkSource + UIKit.framework/Headers/UIWindow.h + + + + + 0 + IBIPadFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + PSTTreeGraph.xcodeproj + 3 + 81 + + diff --git a/Unit Tests/PSTTreeGraph/en.lproj/PSTTreeGraphViewController.xib b/Unit Tests/PSTTreeGraph/en.lproj/PSTTreeGraphViewController.xib new file mode 100644 index 0000000..cd42786 --- /dev/null +++ b/Unit Tests/PSTTreeGraph/en.lproj/PSTTreeGraphViewController.xib @@ -0,0 +1,354 @@ + + + + 800 + 10C540 + 760 + 1038.25 + 458.00 + + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + 82 + + + YES + + + + YES + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + YES + + YES + + + YES + + + + YES + + IBFilesOwner + IBCocoaTouchFramework + + + IBFirstResponder + IBCocoaTouchFramework + + + + 274 + {768, 1004} + + + 3 + MQA + + 2 + + + + 2 + + IBIPadFramework + + + + + YES + + + view + + + + 3 + + + + + YES + + 0 + + + + + + -1 + + + File's Owner + + + -2 + + + + + 2 + + + + + + + YES + + YES + -1.CustomClassName + -2.CustomClassName + 2.IBEditorWindowLastContentRect + 2.IBPluginDependency + + + YES + PSTTreeGraphViewController + UIResponder + {{513, 0}, {783, 856}} + com.apple.InterfaceBuilder.IBCocoaTouchPlugin + + + + YES + + + YES + + + + + YES + + + YES + + + + 3 + + + + YES + + PSTTreeGraphViewController + UIViewController + + IBProjectSource + PSTTreeGraphViewController.h + + + + + YES + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSError.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSFileManager.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueCoding.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyValueObserving.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSKeyedArchiver.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSNetServices.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSObject.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSPort.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSRunLoop.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSStream.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSThread.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURL.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSURLConnection.h + + + + NSObject + + IBFrameworkSource + Foundation.framework/Headers/NSXMLParser.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIAccessibility.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UINibLoading.h + + + + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UIResponder.h + + + + UIResponder + NSObject + + + + UISearchBar + UIView + + IBFrameworkSource + UIKit.framework/Headers/UISearchBar.h + + + + UISearchDisplayController + NSObject + + IBFrameworkSource + UIKit.framework/Headers/UISearchDisplayController.h + + + + UIView + + IBFrameworkSource + UIKit.framework/Headers/UITextField.h + + + + UIView + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIView.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UINavigationController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UIPopoverController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UISplitViewController.h + + + + UIViewController + + IBFrameworkSource + UIKit.framework/Headers/UITabBarController.h + + + + UIViewController + UIResponder + + IBFrameworkSource + UIKit.framework/Headers/UIViewController.h + + + + + 0 + IBIPadFramework + + com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS + + + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + + YES + PSTTreeGraph.xcodeproj + 3 + 82 + + diff --git a/Unit Tests/PSTTreeGraph/main.m b/Unit Tests/PSTTreeGraph/main.m new file mode 100644 index 0000000..3d4f1db --- /dev/null +++ b/Unit Tests/PSTTreeGraph/main.m @@ -0,0 +1,17 @@ +// +// main.m +// PSTTreeGraph +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import + +int main(int argc, char *argv[]) +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + int retVal = UIApplicationMain(argc, argv, nil, nil); + [pool release]; + return retVal; +} diff --git a/Unit Tests/PSTTreeGraphTests/BranchTests.h b/Unit Tests/PSTTreeGraphTests/BranchTests.h new file mode 100644 index 0000000..96ec605 --- /dev/null +++ b/Unit Tests/PSTTreeGraphTests/BranchTests.h @@ -0,0 +1,18 @@ +// +// BranchTests.h +// PSTTreeGraphTests +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import + +#import "PSBaseBranchView.h" + +@interface BranchTests : SenTestCase +{ + PSBaseBranchView* aBranch; +} + +@end diff --git a/Unit Tests/PSTTreeGraphTests/BranchTests.m b/Unit Tests/PSTTreeGraphTests/BranchTests.m new file mode 100644 index 0000000..b5125c4 --- /dev/null +++ b/Unit Tests/PSTTreeGraphTests/BranchTests.m @@ -0,0 +1,38 @@ +// +// BranchTests.m +// PSTTreeGraphTests +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import "BranchTests.h" + +@implementation BranchTests + +- (void)setUp +{ + [super setUp]; + + // Set-up code here. + + aBranch = [[PSBaseBranchView alloc] initWithFrame:CGRectZero]; + STAssertNotNil(aBranch, @"Couldn't create branch view."); + +} + +- (void)tearDown +{ + // Tear-down code here. + + [aBranch release]; + + [super tearDown]; +} + +- (void)testExample +{ +// STFail(@"Unit tests are not implemented yet in PSTTreeGraphTests"); +} + +@end diff --git a/Unit Tests/PSTTreeGraphTests/GraphTests.h b/Unit Tests/PSTTreeGraphTests/GraphTests.h new file mode 100644 index 0000000..08a5fbd --- /dev/null +++ b/Unit Tests/PSTTreeGraphTests/GraphTests.h @@ -0,0 +1,13 @@ +// +// GraphTests.h +// PSTTreeGraphTests +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import + +@interface GraphTests : SenTestCase + +@end diff --git a/Unit Tests/PSTTreeGraphTests/GraphTests.m b/Unit Tests/PSTTreeGraphTests/GraphTests.m new file mode 100644 index 0000000..c767c40 --- /dev/null +++ b/Unit Tests/PSTTreeGraphTests/GraphTests.m @@ -0,0 +1,32 @@ +// +// GraphTests.m +// PSTTreeGraphTests +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import "GraphTests.h" + +@implementation GraphTests + +- (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 PSTTreeGraphTests"); +} + +@end diff --git a/Unit Tests/PSTTreeGraphTests/LeafTests.h b/Unit Tests/PSTTreeGraphTests/LeafTests.h new file mode 100644 index 0000000..6c6cfd9 --- /dev/null +++ b/Unit Tests/PSTTreeGraphTests/LeafTests.h @@ -0,0 +1,17 @@ +// +// LeafTests.h +// PSTTreeGraphTests +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import + +#import "PSBaseLeafView.h" + +@interface LeafTests : SenTestCase +{ + PSBaseLeafView* aLeaf; +} +@end diff --git a/Unit Tests/PSTTreeGraphTests/LeafTests.m b/Unit Tests/PSTTreeGraphTests/LeafTests.m new file mode 100644 index 0000000..bf277fd --- /dev/null +++ b/Unit Tests/PSTTreeGraphTests/LeafTests.m @@ -0,0 +1,46 @@ +// +// LeafTests.m +// PSTTreeGraphTests +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import "LeafTests.h" + +@implementation LeafTests + +- (void)setUp +{ + [super setUp]; + + // Set-up code here. + + + aLeaf = [[PSBaseLeafView alloc] initWithFrame:CGRectZero]; + STAssertNotNil(aLeaf, @"Couldn't create leaf view."); + + +} + +- (void)tearDown +{ + // Tear-down code here. + + [aLeaf release]; + + [super tearDown]; +} + +- (void)testSelectionState +{ + STAssertFalse(aLeaf.showingSelected, @"Leaf nodes should not be selected by default."); + + aLeaf.showingSelected = YES; + STAssertTrue(aLeaf.showingSelected, @"showingSelected property assignment failed."); + + aLeaf.showingSelected = NO; + STAssertFalse(aLeaf.showingSelected, @"showingSelected property assignment failed."); +} + +@end diff --git a/Unit Tests/PSTTreeGraphTests/PSTTreeGraphTests-Info.plist b/Unit Tests/PSTTreeGraphTests/PSTTreeGraphTests-Info.plist new file mode 100644 index 0000000..bb2e1d2 --- /dev/null +++ b/Unit Tests/PSTTreeGraphTests/PSTTreeGraphTests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.prestonsoft.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Unit Tests/PSTTreeGraphTests/SubTreeTests.h b/Unit Tests/PSTTreeGraphTests/SubTreeTests.h new file mode 100644 index 0000000..f7f9173 --- /dev/null +++ b/Unit Tests/PSTTreeGraphTests/SubTreeTests.h @@ -0,0 +1,13 @@ +// +// SubTreeTests.h +// PSTTreeGraphTests +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import + +@interface SubTreeTests : SenTestCase + +@end diff --git a/Unit Tests/PSTTreeGraphTests/SubTreeTests.m b/Unit Tests/PSTTreeGraphTests/SubTreeTests.m new file mode 100644 index 0000000..4196a6d --- /dev/null +++ b/Unit Tests/PSTTreeGraphTests/SubTreeTests.m @@ -0,0 +1,32 @@ +// +// SubTreeTests.m +// PSTTreeGraphTests +// +// Created by Ed Preston on 26/08/11. +// Copyright 2011 Preston Software. All rights reserved. +// + +#import "SubTreeTests.h" + +@implementation SubTreeTests + +- (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 PSTTreeGraphTests"); +} + +@end diff --git a/Unit Tests/PSTTreeGraphTests/en.lproj/InfoPlist.strings b/Unit Tests/PSTTreeGraphTests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Unit Tests/PSTTreeGraphTests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ +