Skip to content
Browse files

Basic structure for unit tests.

Added basic structure for unit tests.
  • Loading branch information...
1 parent 41264f4 commit 7c6a9f39704c9a798a740a5803b75b1dd5b7c2b3 @epreston committed
Showing with 3,343 additions and 1 deletion.
  1. +8 −1 Example 1/PSHTreeGraph_Prefix.pch
  2. +462 −0 PSTTreeGraph/PSTTreeGraph.xcodeproj/project.pbxproj
  3. +39 −0 PSTTreeGraph/PSTTreeGraph/PSTTreeGraph-Info.plist
  4. +14 −0 PSTTreeGraph/PSTTreeGraph/PSTTreeGraph-Prefix.pch
  5. +19 −0 PSTTreeGraph/PSTTreeGraph/PSTTreeGraphAppDelegate.h
  6. +73 −0 PSTTreeGraph/PSTTreeGraph/PSTTreeGraphAppDelegate.m
  7. +13 −0 PSTTreeGraph/PSTTreeGraph/PSTTreeGraphViewController.h
  8. +44 −0 PSTTreeGraph/PSTTreeGraph/PSTTreeGraphViewController.m
  9. +2 −0 PSTTreeGraph/PSTTreeGraph/en.lproj/InfoPlist.strings
  10. +436 −0 PSTTreeGraph/PSTTreeGraph/en.lproj/MainWindow.xib
  11. +354 −0 PSTTreeGraph/PSTTreeGraph/en.lproj/PSTTreeGraphViewController.xib
  12. +17 −0 PSTTreeGraph/PSTTreeGraph/main.m
  13. +22 −0 PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests-Info.plist
  14. +13 −0 PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests.h
  15. +32 −0 PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests.m
  16. +2 −0 PSTTreeGraph/PSTTreeGraphTests/en.lproj/InfoPlist.strings
  17. +1 −0 PSTreeGraphView/PSBaseLeafView.m
  18. +549 −0 Unit Tests/PSTTreeGraph.xcodeproj/project.pbxproj
  19. +39 −0 Unit Tests/PSTTreeGraph/PSTTreeGraph-Info.plist
  20. +14 −0 Unit Tests/PSTTreeGraph/PSTTreeGraph-Prefix.pch
  21. +18 −0 Unit Tests/PSTTreeGraph/PSTTreeGraphAppDelegate.h
  22. +73 −0 Unit Tests/PSTTreeGraph/PSTTreeGraphAppDelegate.m
  23. +13 −0 Unit Tests/PSTTreeGraph/PSTTreeGraphViewController.h
  24. +44 −0 Unit Tests/PSTTreeGraph/PSTTreeGraphViewController.m
  25. +2 −0 Unit Tests/PSTTreeGraph/en.lproj/InfoPlist.strings
  26. +436 −0 Unit Tests/PSTTreeGraph/en.lproj/MainWindow.xib
  27. +354 −0 Unit Tests/PSTTreeGraph/en.lproj/PSTTreeGraphViewController.xib
  28. +17 −0 Unit Tests/PSTTreeGraph/main.m
  29. +18 −0 Unit Tests/PSTTreeGraphTests/BranchTests.h
  30. +38 −0 Unit Tests/PSTTreeGraphTests/BranchTests.m
  31. +13 −0 Unit Tests/PSTTreeGraphTests/GraphTests.h
  32. +32 −0 Unit Tests/PSTTreeGraphTests/GraphTests.m
  33. +17 −0 Unit Tests/PSTTreeGraphTests/LeafTests.h
  34. +46 −0 Unit Tests/PSTTreeGraphTests/LeafTests.m
  35. +22 −0 Unit Tests/PSTTreeGraphTests/PSTTreeGraphTests-Info.plist
  36. +13 −0 Unit Tests/PSTTreeGraphTests/SubTreeTests.h
  37. +32 −0 Unit Tests/PSTTreeGraphTests/SubTreeTests.m
  38. +2 −0 Unit Tests/PSTTreeGraphTests/en.lproj/InfoPlist.strings
View
9 Example 1/PSHTreeGraph_Prefix.pch
@@ -2,7 +2,14 @@
// Prefix header for all source files of the 'PSHTreeGraph' target in the 'PSHTreeGraph' project
//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_3_0
+#warning "This project uses features only available in iPhone SDK 3.0 and later."
+#endif
+
#ifdef __OBJC__
- #import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
#endif
View
462 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 = "<group>"; };
+ 4F1FC8491407441500C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 4F1FC84B1407441500C343D9 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ 4F1FC84D1407441600C343D9 /* PSTTreeGraph-Prefix.pch */ = {isa = PBXFileReference; path = "PSTTreeGraph-Prefix.pch"; sourceTree = "<group>"; };
+ 4F1FC84E1407441600C343D9 /* PSTTreeGraphAppDelegate.h */ = {isa = PBXFileReference; path = PSTTreeGraphAppDelegate.h; sourceTree = "<group>"; };
+ 4F1FC84F1407441600C343D9 /* PSTTreeGraphAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PSTTreeGraphAppDelegate.m; sourceTree = "<group>"; };
+ 4F1FC8521407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainWindow.xib; sourceTree = "<group>"; };
+ 4F1FC8541407441600C343D9 /* PSTTreeGraphViewController.h */ = {isa = PBXFileReference; path = PSTTreeGraphViewController.h; sourceTree = "<group>"; };
+ 4F1FC8551407441600C343D9 /* PSTTreeGraphViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PSTTreeGraphViewController.m; sourceTree = "<group>"; };
+ 4F1FC8581407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/PSTTreeGraphViewController.xib; sourceTree = "<group>"; };
+ 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 = "<group>"; };
+ 4F1FC86B1407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 4F1FC86D1407441600C343D9 /* PSTTreeGraphTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PSTTreeGraphTests.h; sourceTree = "<group>"; };
+ 4F1FC86F1407441600C343D9 /* PSTTreeGraphTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PSTTreeGraphTests.m; sourceTree = "<group>"; };
+/* 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 = "<group>";
+ };
+ 4F1FC83C1407441500C343D9 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 4F1FC83B1407441500C343D9 /* PSTTreeGraph.app */,
+ 4F1FC85F1407441600C343D9 /* PSTTreeGraphTests.octest */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 4F1FC83E1407441500C343D9 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 4F1FC83F1407441500C343D9 /* UIKit.framework */,
+ 4F1FC8411407441500C343D9 /* Foundation.framework */,
+ 4F1FC8431407441500C343D9 /* CoreGraphics.framework */,
+ 4F1FC8601407441600C343D9 /* SenTestingKit.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ 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 = "<group>";
+ };
+ 4F1FC8461407441500C343D9 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 4F1FC8471407441500C343D9 /* PSTTreeGraph-Info.plist */,
+ 4F1FC8481407441500C343D9 /* InfoPlist.strings */,
+ 4F1FC84B1407441500C343D9 /* main.m */,
+ 4F1FC84D1407441600C343D9 /* PSTTreeGraph-Prefix.pch */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ 4F1FC8671407441600C343D9 /* PSTTreeGraphTests */ = {
+ isa = PBXGroup;
+ children = (
+ 4F1FC86D1407441600C343D9 /* PSTTreeGraphTests.h */,
+ 4F1FC86F1407441600C343D9 /* PSTTreeGraphTests.m */,
+ 4F1FC8681407441600C343D9 /* Supporting Files */,
+ );
+ path = PSTTreeGraphTests;
+ sourceTree = "<group>";
+ };
+ 4F1FC8681407441600C343D9 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 4F1FC8691407441600C343D9 /* PSTTreeGraphTests-Info.plist */,
+ 4F1FC86A1407441600C343D9 /* InfoPlist.strings */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+/* 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 = "<group>";
+ };
+ 4F1FC8511407441600C343D9 /* MainWindow.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 4F1FC8521407441600C343D9 /* en */,
+ );
+ name = MainWindow.xib;
+ sourceTree = "<group>";
+ };
+ 4F1FC8571407441600C343D9 /* PSTTreeGraphViewController.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 4F1FC8581407441600C343D9 /* en */,
+ );
+ name = PSTTreeGraphViewController.xib;
+ sourceTree = "<group>";
+ };
+ 4F1FC86A1407441600C343D9 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 4F1FC86B1407441600C343D9 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+/* 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 */;
+}
View
39 PSTTreeGraph/PSTTreeGraph/PSTTreeGraph-Info.plist
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>com.prestonsoft.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>NSMainNibFile</key>
+ <string>MainWindow</string>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
View
14 PSTTreeGraph/PSTTreeGraph/PSTTreeGraph-Prefix.pch
@@ -0,0 +1,14 @@
+//
+// Prefix header for all source files of the 'PSTTreeGraph' target in the 'PSTTreeGraph' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_3_0
+#warning "This project uses features only available in iPhone SDK 3.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
View
19 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 <UIKit/UIKit.h>
+
+@class PSTTreeGraphViewController;
+
+@interface PSTTreeGraphAppDelegate : NSObject <UIApplicationDelegate>
+
+@property (nonatomic, retain) IBOutlet UIWindow *window;
+
+@property (nonatomic, retain) IBOutlet PSTTreeGraphViewController *viewController;
+
+@end
View
73 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
View
13 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 <UIKit/UIKit.h>
+
+@interface PSTTreeGraphViewController : UIViewController
+
+@end
View
44 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
View
2 PSTTreeGraph/PSTTreeGraph/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
View
436 PSTTreeGraph/PSTTreeGraph/en.lproj/MainWindow.xib
@@ -0,0 +1,436 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+ <data>
+ <int key="IBDocument.SystemTarget">800</int>
+ <string key="IBDocument.SystemVersion">10D540</string>
+ <string key="IBDocument.InterfaceBuilderVersion">760</string>
+ <string key="IBDocument.AppKitVersion">1038.29</string>
+ <string key="IBDocument.HIToolboxVersion">460.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">81</string>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <integer value="2"/>
+ </object>
+ <object class="NSArray" key="IBDocument.PluginDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys" id="0">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBProxyObject" id="841351856">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBProxyObject" id="606714003">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIWindow" id="62075450">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrameSize">{768, 1024}</string>
+ <reference key="NSSuperview"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ </object>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics" id="456458906">
+ <int key="IBUIStatusBarStyle">2</int>
+ </object>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ <bool key="IBUIResizesToFullScreen">YES</bool>
+ </object>
+ <object class="IBUICustomObject" id="250404236">
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ </object>
+ <object class="IBUIViewController" id="578626022">
+ <string key="IBUINibName">PSTTreeGraphViewController</string>
+ <reference key="IBUISimulatedStatusBarMetrics" ref="456458906"/>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ </object>
+ </object>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <object class="NSMutableArray" key="connectionRecords">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">viewController</string>
+ <reference key="source" ref="250404236"/>
+ <reference key="destination" ref="578626022"/>
+ </object>
+ <int key="connectionID">8</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="250404236"/>
+ </object>
+ <int key="connectionID">9</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">window</string>
+ <reference key="source" ref="250404236"/>
+ <reference key="destination" ref="62075450"/>
+ </object>
+ <int key="connectionID">10</int>
+ </object>
+ </object>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <object class="NSArray" key="orderedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <reference key="object" ref="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="841351856"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="606714003"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">2</int>
+ <reference key="object" ref="62075450"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">6</int>
+ <reference key="object" ref="250404236"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">PSTTreeGraph App Delegate</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">7</int>
+ <reference key="object" ref="578626022"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="flattenedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>-1.CustomClassName</string>
+ <string>-2.CustomClassName</string>
+ <string>2.IBEditorWindowLastContentRect</string>
+ <string>2.IBPluginDependency</string>
+ <string>6.CustomClassName</string>
+ <string>6.IBPluginDependency</string>
+ <string>7.CustomClassName</string>
+ <string>7.IBEditorWindowLastContentRect</string>
+ <string>7.IBPluginDependency</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>UIApplication</string>
+ <string>UIResponder</string>
+ <string>{{200, 57}, {783, 799}}</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>PSTTreeGraphAppDelegate</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>PSTTreeGraphViewController</string>
+ <string>{{512, 351}, {320, 480}}</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <nil key="activeLocalization"/>
+ <object class="NSMutableDictionary" key="localizations">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <nil key="sourceID"/>
+ <int key="maxID">10</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">PSTTreeGraphAppDelegate</string>
+ <string key="superclassName">NSObject</string>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>viewController</string>
+ <string>window</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>PSTTreeGraphViewController</string>
+ <string>UIWindow</string>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">PSTTreeGraphAppDelegate.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">PSTTreeGraphViewController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">PSTTreeGraphViewController.h</string>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSError.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSNetServices.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSPort.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSStream.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSXMLParser.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier" id="786211723">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIApplication</string>
+ <string key="superclassName">UIResponder</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIApplication.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIResponder</string>
+ <string key="superclassName">NSObject</string>
+ <reference key="sourceIdentifier" ref="786211723"/>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIResponder</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UITextInput.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UISearchBar</string>
+ <string key="superclassName">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UISearchDisplayController</string>
+ <string key="superclassName">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIView</string>
+ <string key="superclassName">UIResponder</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIView.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <string key="superclassName">UIResponder</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIViewController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIWindow</string>
+ <string key="superclassName">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIWindow.h</string>
+ </object>
+ </object>
+ </object>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
+ <integer value="800" key="NS.object.0"/>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
+ <integer value="3100" key="NS.object.0"/>
+ </object>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <string key="IBDocument.LastKnownRelativeProjectPath">PSTTreeGraph.xcodeproj</string>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">81</string>
+ </data>
+</archive>
View
354 PSTTreeGraph/PSTTreeGraph/en.lproj/PSTTreeGraphViewController.xib
@@ -0,0 +1,354 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+ <data>
+ <int key="IBDocument.SystemTarget">800</int>
+ <string key="IBDocument.SystemVersion">10C540</string>
+ <string key="IBDocument.InterfaceBuilderVersion">760</string>
+ <string key="IBDocument.AppKitVersion">1038.25</string>
+ <string key="IBDocument.HIToolboxVersion">458.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">82</string>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <integer value="2"/>
+ </object>
+ <object class="NSArray" key="IBDocument.PluginDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys" id="0">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBProxyObject" id="841351856">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBProxyObject" id="606714003">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIView" id="766721923">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">274</int>
+ <string key="NSFrameSize">{768, 1004}</string>
+ <reference key="NSSuperview"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ <object class="NSColorSpace" key="NSCustomColorSpace">
+ <int key="NSID">2</int>
+ </object>
+ </object>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
+ <int key="IBUIStatusBarStyle">2</int>
+ </object>
+ <string key="targetRuntimeIdentifier">IBIPadFramework</string>
+ </object>
+ </object>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <object class="NSMutableArray" key="connectionRecords">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">view</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="766721923"/>
+ </object>
+ <int key="connectionID">3</int>
+ </object>
+ </object>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <object class="NSArray" key="orderedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <reference key="object" ref="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="841351856"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="606714003"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">2</int>
+ <reference key="object" ref="766721923"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="flattenedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>-1.CustomClassName</string>
+ <string>-2.CustomClassName</string>
+ <string>2.IBEditorWindowLastContentRect</string>
+ <string>2.IBPluginDependency</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>PSTTreeGraphViewController</string>
+ <string>UIResponder</string>
+ <string>{{513, 0}, {783, 856}}</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <nil key="activeLocalization"/>
+ <object class="NSMutableDictionary" key="localizations">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <nil key="sourceID"/>
+ <int key="maxID">3</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">PSTTreeGraphViewController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">PSTTreeGraphViewController.h</string>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSError.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSNetServices.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSPort.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSStream.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">Foundation.framework/Headers/NSXMLParser.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier" id="786211723">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIResponder</string>
+ <string key="superclassName">NSObject</string>
+ <reference key="sourceIdentifier" ref="786211723"/>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UISearchBar</string>
+ <string key="superclassName">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UISearchDisplayController</string>
+ <string key="superclassName">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIView</string>
+ <string key="superclassName">UIResponder</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIView.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <string key="superclassName">UIResponder</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIViewController.h</string>
+ </object>
+ </object>
+ </object>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
+ <integer value="800" key="NS.object.0"/>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
+ <integer value="3100" key="NS.object.0"/>
+ </object>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <string key="IBDocument.LastKnownRelativeProjectPath">PSTTreeGraph.xcodeproj</string>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">82</string>
+ </data>
+</archive>
View
17 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 <UIKit/UIKit.h>
+
+int main(int argc, char *argv[])
+{
+ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ int retVal = UIApplicationMain(argc, argv, nil, nil);
+ [pool release];
+ return retVal;
+}
View
22 PSTTreeGraph/PSTTreeGraphTests/PSTTreeGraphTests-Info.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.prestonsoft.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>BNDL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+</dict>
+</plist>
View
13 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 <SenTestingKit/SenTestingKit.h>
+
+@interface PSTTreeGraphTests : SenTestCase
+
+@end
View
32 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
View
2 PSTTreeGraph/PSTTreeGraphTests/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
View
1 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];
}
View
549 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 = "<group>"; };
+ 4F1FC8491407441500C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 4F1FC84B1407441500C343D9 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ 4F1FC84D1407441600C343D9 /* PSTTreeGraph-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PSTTreeGraph-Prefix.pch"; sourceTree = "<group>"; };
+ 4F1FC84E1407441600C343D9 /* PSTTreeGraphAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PSTTreeGraphAppDelegate.h; sourceTree = "<group>"; };
+ 4F1FC84F1407441600C343D9 /* PSTTreeGraphAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PSTTreeGraphAppDelegate.m; sourceTree = "<group>"; };
+ 4F1FC8521407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainWindow.xib; sourceTree = "<group>"; };
+ 4F1FC8541407441600C343D9 /* PSTTreeGraphViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PSTTreeGraphViewController.h; sourceTree = "<group>"; };
+ 4F1FC8551407441600C343D9 /* PSTTreeGraphViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PSTTreeGraphViewController.m; sourceTree = "<group>"; };
+ 4F1FC8581407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/PSTTreeGraphViewController.xib; sourceTree = "<group>"; };
+ 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 = "<group>"; };
+ 4F1FC86B1407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 4F1FC88D14074E3300C343D9 /* PSBaseBranchView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseBranchView.h; sourceTree = "<group>"; };
+ 4F1FC88E14074E3300C343D9 /* PSBaseBranchView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PSBaseBranchView.m; sourceTree = "<group>"; };
+ 4F1FC88F14074E3300C343D9 /* PSBaseLeafView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseLeafView.h; sourceTree = "<group>"; };
+ 4F1FC89014074E3300C343D9 /* PSBaseLeafView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PSBaseLeafView.m; sourceTree = "<group>"; };
+ 4F1FC89114074E3300C343D9 /* PSBaseSubtreeView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseSubtreeView.h; sourceTree = "<group>"; };
+ 4F1FC89214074E3300C343D9 /* PSBaseSubtreeView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PSBaseSubtreeView.m; sourceTree = "<group>"; };
+ 4F1FC89314074E3300C343D9 /* PSBaseTreeGraphView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseTreeGraphView.h; sourceTree = "<group>"; };
+ 4F1FC89414074E3300C343D9 /* PSBaseTreeGraphView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PSBaseTreeGraphView.m; sourceTree = "<group>"; };
+ 4F1FC89514074E3300C343D9 /* PSBaseTreeGraphView_Internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseTreeGraphView_Internal.h; sourceTree = "<group>"; };
+ 4F1FC89614074E3300C343D9 /* PSTreeGraphModelNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSTreeGraphModelNode.h; sourceTree = "<group>"; };
+ 4F1FC8AB140755CD00C343D9 /* BranchTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BranchTests.h; sourceTree = "<group>"; };
+ 4F1FC8AC140755CD00C343D9 /* BranchTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BranchTests.m; sourceTree = "<group>"; };
+ 4F1FC8AD140755CD00C343D9 /* GraphTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GraphTests.h; sourceTree = "<group>"; };
+ 4F1FC8AE140755CD00C343D9 /* GraphTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GraphTests.m; sourceTree = "<group>"; };
+ 4F1FC8AF140755CD00C343D9 /* LeafTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LeafTests.h; sourceTree = "<group>"; };
+ 4F1FC8B0140755CD00C343D9 /* LeafTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LeafTests.m; sourceTree = "<group>"; };
+ 4F1FC8B1140755CD00C343D9 /* SubTreeTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SubTreeTests.h; sourceTree = "<group>"; };
+ 4F1FC8B2140755CD00C343D9 /* SubTreeTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SubTreeTests.m; sourceTree = "<group>"; };
+/* 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 = "<group>";
+ };
+ 4F1FC83C1407441500C343D9 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 4F1FC83B1407441500C343D9 /* PSTTreeGraph.app */,
+ 4F1FC85F1407441600C343D9 /* PSTTreeGraphTests.octest */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 4F1FC83E1407441500C343D9 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 4F1FC83F1407441500C343D9 /* UIKit.framework */,
+ 4F1FC8411407441500C343D9 /* Foundation.framework */,
+ 4F1FC8431407441500C343D9 /* CoreGraphics.framework */,
+ 4F1FC8601407441600C343D9 /* SenTestingKit.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ 4F1FC8451407441500C343D9 /* PSTTreeGraph */ = {
+ isa = PBXGroup;
+ children = (
+ 4F1FC88814074D6F00C343D9 /* Controller */,
+ 4F1FC88A14074D7800C343D9 /* View */,
+ 4F1FC88B14074D8100C343D9 /* Model */,
+ 4F1FC8461407441500C343D9 /* Supporting Files */,
+ );
+ path = PSTTreeGraph;
+ sourceTree = "<group>";
+ };
+ 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 = "<group>";
+ };
+ 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 = "<group>";
+ };
+ 4F1FC8681407441600C343D9 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 4F1FC8691407441600C343D9 /* PSTTreeGraphTests-Info.plist */,
+ 4F1FC86A1407441600C343D9 /* InfoPlist.strings */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ 4F1FC88814074D6F00C343D9 /* Controller */ = {
+ isa = PBXGroup;
+ children = (
+ 4F1FC84E1407441600C343D9 /* PSTTreeGraphAppDelegate.h */,
+ 4F1FC84F1407441600C343D9 /* PSTTreeGraphAppDelegate.m */,
+ 4F1FC8541407441600C343D9 /* PSTTreeGraphViewController.h */,
+ 4F1FC8551407441600C343D9 /* PSTTreeGraphViewController.m */,
+ );
+ name = Controller;
+ sourceTree = "<group>";
+ };
+ 4F1FC88A14074D7800C343D9 /* View */ = {
+ isa = PBXGroup;
+ children = (
+ 4F1FC88C14074E3300C343D9 /* PSTreeGraphView */,
+ );
+ name = View;
+ sourceTree = "<group>";
+ };
+ 4F1FC88B14074D8100C343D9 /* Model */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Model;
+ sourceTree = "<group>";
+ };
+ 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 = "<group>";
+ };
+ 4F1FC8A4140751EF00C343D9 /* Interface */ = {
+ isa = PBXGroup;
+ children = (
+ 4F1FC8571407441600C343D9 /* PSTTreeGraphViewController.xib */,
+ 4F1FC8511407441600C343D9 /* MainWindow.xib */,
+ );
+ name = Interface;
+ sourceTree = "<group>";
+ };
+/* 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 = "<group>";
+ };
+ 4F1FC8511407441600C343D9 /* MainWindow.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 4F1FC8521407441600C343D9 /* en */,
+ );
+ name = MainWindow.xib;
+ sourceTree = "<group>";
+ };
+ 4F1FC8571407441600C343D9 /* PSTTreeGraphViewController.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 4F1FC8581407441600C343D9 /* en */,
+ );
+ name = PSTTreeGraphViewController.xib;
+ sourceTree = "<group>";
+ };
+ 4F1FC86A1407441600C343D9 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 4F1FC86B1407441600C343D9 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+/* 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 */;
+}
View
39 Unit Tests/PSTTreeGraph/PSTTreeGraph-Info.plist
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>com.prestonsoft.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>NSMainNibFile</key>
+ <string>MainWindow</string>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
View
14 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 <Availability.h>
+
+#ifndef __IPHONE_3_0
+#warning "This project uses features only available in iPhone SDK 3.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
View
18 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 <UIKit/UIKit.h>
+
+@class PSTTreeGraphViewController;
+
+@interface PSTTreeGraphAppDelegate : NSObject <UIApplicationDelegate>
+