[
  {
    "path": ".gitignore",
    "content": "# OSX Specific System Files\n.DS_Store\nprofile\n*.swp\nehthumbs.db\nThumbs.db\n\n# Backup files\n*~.nib\n\n# Generated Docs\nDocumentation/*\n\n# Xcode Specific Files\nbuild/*\n*.pbxuser\n!default.pbxuser\n*.mode1v3\n!default.mode1v3\n*.mode2v3\n!default.mode2v3\n*.perspectivev3\n!default.perspectivev3\n*.xcworkspace\n!default.xcworkspace\nxcuserdata\n*.moved-aside\n\n# Textmate - if you build your xcode projects with it\n*.tm_build_errors\n\n# old skool\n.svn\n\n#new skewl\n.hgignore\n.hg\n"
  },
  {
    "path": ".travis.yml",
    "content": "language: objective-c\nxcode_project: PSHTreeGraph.xcodeproj\nxcode_scheme: PSHTreeGraph\nxcode_sdk: iphonesimulator\n\nbefore_install:\n  - git submodule update --init --recursive\n  - cd Example\\ 1/\n\n# whitelist\nbranches:\n  only:\n    - master\n\n"
  },
  {
    "path": "Doxyfile",
    "content": "# Doxyfile 1.8.1.2-20120730\n\n# This file describes the settings to be used by the documentation system\n# doxygen (www.doxygen.org) for a project.\n#\n# All text after a hash (#) is considered a comment and will be ignored.\n# The format is:\n#       TAG = value [value, ...]\n# For lists items can also be appended using:\n#       TAG += value [value, ...]\n# Values that contain spaces should be placed between quotes (\" \").\n\n#---------------------------------------------------------------------------\n# Project related configuration options\n#---------------------------------------------------------------------------\n\n# This tag specifies the encoding used for all characters in the config file\n# that follow. The default is UTF-8 which is also the encoding used for all\n# text before the first occurrence of this tag. Doxygen uses libiconv (or the\n# iconv built into libc) for the transcoding. See\n# http://www.gnu.org/software/libiconv for the list of possible encodings.\n\nDOXYFILE_ENCODING      = UTF-8\n\n# The PROJECT_NAME tag is a single word (or sequence of words) that should\n# identify the project. Note that if you do not use Doxywizard you need\n# to put quotes around the project name if it contains spaces.\n\nPROJECT_NAME           = PSTreeGraphView\n\n# The PROJECT_NUMBER tag can be used to enter a project or revision number.\n# This could be handy for archiving the generated documentation or\n# if some version control system is used.\n\nPROJECT_NUMBER         =\n\n# Using the PROJECT_BRIEF tag one can provide an optional one line description\n# for a project that appears at the top of each page and should give viewer\n# a quick idea about the purpose of the project. Keep the description short.\n\nPROJECT_BRIEF          = \"A tree graph view control for iPad applications.\"\n\n# With the PROJECT_LOGO tag one can specify an logo or icon that is\n# included in the documentation. The maximum height of the logo should not\n# exceed 55 pixels and the maximum width should not exceed 200 pixels.\n# Doxygen will copy the logo to the output directory.\n\nPROJECT_LOGO           =\n\n# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)\n# base path where the generated documentation will be put.\n# If a relative path is entered, it will be relative to the location\n# where doxygen was started. If left blank the current directory will be used.\n\nOUTPUT_DIRECTORY       = Documentation\n\n# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create\n# 4096 sub-directories (in 2 levels) under the output directory of each output\n# format and will distribute the generated files over these directories.\n# Enabling this option can be useful when feeding doxygen a huge amount of\n# source files, where putting all generated files in the same directory would\n# otherwise cause performance problems for the file system.\n\nCREATE_SUBDIRS         = NO\n\n# The OUTPUT_LANGUAGE tag is used to specify the language in which all\n# documentation generated by doxygen is written. Doxygen will use this\n# information to generate all constant output in the proper language.\n# The default language is English, other supported languages are:\n# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,\n# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,\n# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English\n# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,\n# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak,\n# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.\n\nOUTPUT_LANGUAGE        = English\n\n# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will\n# include brief member descriptions after the members that are listed in\n# the file and class documentation (similar to JavaDoc).\n# Set to NO to disable this.\n\nBRIEF_MEMBER_DESC      = YES\n\n# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend\n# the brief description of a member or function before the detailed description.\n# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the\n# brief descriptions will be completely suppressed.\n\nREPEAT_BRIEF           = YES\n\n# This tag implements a quasi-intelligent brief description abbreviator\n# that is used to form the text in various listings. Each string\n# in this list, if found as the leading text of the brief description, will be\n# stripped from the text and the result after processing the whole list, is\n# used as the annotated text. Otherwise, the brief description is used as-is.\n# If left blank, the following values are used (\"$name\" is automatically\n# replaced with the name of the entity): \"The $name class\" \"The $name widget\"\n# \"The $name file\" \"is\" \"provides\" \"specifies\" \"contains\"\n# \"represents\" \"a\" \"an\" \"the\"\n\nABBREVIATE_BRIEF       = \"The $name class\" \\\n                         \"The $name widget\" \\\n                         \"The $name file\" \\\n                         is \\\n                         provides \\\n                         specifies \\\n                         contains \\\n                         represents \\\n                         a \\\n                         an \\\n                         the\n\n# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then\n# Doxygen will generate a detailed section even if there is only a brief\n# description.\n\nALWAYS_DETAILED_SEC    = NO\n\n# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all\n# inherited members of a class in the documentation of that class as if those\n# members were ordinary class members. Constructors, destructors and assignment\n# operators of the base classes will not be shown.\n\nINLINE_INHERITED_MEMB  = NO\n\n# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full\n# path before files name in the file list and in the header files. If set\n# to NO the shortest path that makes the file name unique will be used.\n\nFULL_PATH_NAMES        = YES\n\n# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag\n# can be used to strip a user-defined part of the path. Stripping is\n# only done if one of the specified strings matches the left-hand part of\n# the path. The tag can be used to show relative paths in the file list.\n# If left blank the directory from which doxygen is run is used as the\n# path to strip.\n\nSTRIP_FROM_PATH        =\n\n# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of\n# the path mentioned in the documentation of a class, which tells\n# the reader which header file to include in order to use a class.\n# If left blank only the name of the header file containing the class\n# definition is used. Otherwise one should specify the include paths that\n# are normally passed to the compiler using the -I flag.\n\nSTRIP_FROM_INC_PATH    =\n\n# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter\n# (but less readable) file names. This can be useful if your file system\n# doesn't support long names like on DOS, Mac, or CD-ROM.\n\nSHORT_NAMES            = NO\n\n# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen\n# will interpret the first line (until the first dot) of a JavaDoc-style\n# comment as the brief description. If set to NO, the JavaDoc\n# comments will behave just like regular Qt-style comments\n# (thus requiring an explicit @brief command for a brief description.)\n\nJAVADOC_AUTOBRIEF      = YES\n\n# If the QT_AUTOBRIEF tag is set to YES then Doxygen will\n# interpret the first line (until the first dot) of a Qt-style\n# comment as the brief description. If set to NO, the comments\n# will behave just like regular Qt-style comments (thus requiring\n# an explicit \\brief command for a brief description.)\n\nQT_AUTOBRIEF           = NO\n\n# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen\n# treat a multi-line C++ special comment block (i.e. a block of //! or ///\n# comments) as a brief description. This used to be the default behaviour.\n# The new default is to treat a multi-line C++ comment block as a detailed\n# description. Set this tag to YES if you prefer the old behaviour instead.\n\nMULTILINE_CPP_IS_BRIEF = NO\n\n# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented\n# member inherits the documentation from any documented member that it\n# re-implements.\n\nINHERIT_DOCS           = YES\n\n# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce\n# a new page for each member. If set to NO, the documentation of a member will\n# be part of the file/class/namespace that contains it.\n\nSEPARATE_MEMBER_PAGES  = NO\n\n# The TAB_SIZE tag can be used to set the number of spaces in a tab.\n# Doxygen uses this value to replace tabs by spaces in code fragments.\n\nTAB_SIZE               = 8\n\n# This tag can be used to specify a number of aliases that acts\n# as commands in the documentation. An alias has the form \"name=value\".\n# For example adding \"sideeffect=\\par Side Effects:\\n\" will allow you to\n# put the command \\sideeffect (or @sideeffect) in the documentation, which\n# will result in a user-defined paragraph with heading \"Side Effects:\".\n# You can put \\n's in the value part of an alias to insert newlines.\n\nALIASES                =\n\n# This tag can be used to specify a number of word-keyword mappings (TCL only).\n# A mapping has the form \"name=value\". For example adding\n# \"class=itcl::class\" will allow you to use the command class in the\n# itcl::class meaning.\n\nTCL_SUBST              =\n\n# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C\n# sources only. Doxygen will then generate output that is more tailored for C.\n# For instance, some of the names that are used will be different. The list\n# of all members will be omitted, etc.\n\nOPTIMIZE_OUTPUT_FOR_C  = NO\n\n# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java\n# sources only. Doxygen will then generate output that is more tailored for\n# Java. For instance, namespaces will be presented as packages, qualified\n# scopes will look different, etc.\n\nOPTIMIZE_OUTPUT_JAVA   = NO\n\n# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran\n# sources only. Doxygen will then generate output that is more tailored for\n# Fortran.\n\nOPTIMIZE_FOR_FORTRAN   = NO\n\n# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL\n# sources. Doxygen will then generate output that is tailored for\n# VHDL.\n\nOPTIMIZE_OUTPUT_VHDL   = NO\n\n# Doxygen selects the parser to use depending on the extension of the files it\n# parses. With this tag you can assign which parser to use for a given extension.\n# Doxygen has a built-in mapping, but you can override or extend it using this\n# tag. The format is ext=language, where ext is a file extension, and language\n# is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C,\n# C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make\n# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C\n# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions\n# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.\n\nEXTENSION_MAPPING      =\n\n# If MARKDOWN_SUPPORT is enabled (the default) then doxygen pre-processes all\n# comments according to the Markdown format, which allows for more readable\n# documentation. See http://daringfireball.net/projects/markdown/ for details.\n# The output of markdown processing is further processed by doxygen, so you\n# can mix doxygen, HTML, and XML commands with Markdown formatting.\n# Disable only in case of backward compatibilities issues.\n\nMARKDOWN_SUPPORT       = YES\n\n# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want\n# to include (a tag file for) the STL sources as input, then you should\n# set this tag to YES in order to let doxygen match functions declarations and\n# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.\n# func(std::string) {}). This also makes the inheritance and collaboration\n# diagrams that involve STL classes more complete and accurate.\n\nBUILTIN_STL_SUPPORT    = NO\n\n# If you use Microsoft's C++/CLI language, you should set this option to YES to\n# enable parsing support.\n\nCPP_CLI_SUPPORT        = NO\n\n# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.\n# Doxygen will parse them like normal C++ but will assume all classes use public\n# instead of private inheritance when no explicit protection keyword is present.\n\nSIP_SUPPORT            = NO\n\n# For Microsoft's IDL there are propget and propput attributes to indicate getter\n# and setter methods for a property. Setting this option to YES (the default)\n# will make doxygen replace the get and set methods by a property in the\n# documentation. This will only work if the methods are indeed getting or\n# setting a simple type. If this is not the case, or you want to show the\n# methods anyway, you should set this option to NO.\n\nIDL_PROPERTY_SUPPORT   = YES\n\n# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC\n# tag is set to YES, then doxygen will reuse the documentation of the first\n# member in the group (if any) for the other members of the group. By default\n# all members of a group must be documented explicitly.\n\nDISTRIBUTE_GROUP_DOC   = NO\n\n# Set the SUBGROUPING tag to YES (the default) to allow class member groups of\n# the same type (for instance a group of public functions) to be put as a\n# subgroup of that type (e.g. under the Public Functions section). Set it to\n# NO to prevent subgrouping. Alternatively, this can be done per class using\n# the \\nosubgrouping command.\n\nSUBGROUPING            = YES\n\n# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and\n# unions are shown inside the group in which they are included (e.g. using\n# @ingroup) instead of on a separate page (for HTML and Man pages) or\n# section (for LaTeX and RTF).\n\nINLINE_GROUPED_CLASSES = NO\n\n# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and\n# unions with only public data fields will be shown inline in the documentation\n# of the scope in which they are defined (i.e. file, namespace, or group\n# documentation), provided this scope is documented. If set to NO (the default),\n# structs, classes, and unions are shown on a separate page (for HTML and Man\n# pages) or section (for LaTeX and RTF).\n\nINLINE_SIMPLE_STRUCTS  = NO\n\n# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum\n# is documented as struct, union, or enum with the name of the typedef. So\n# typedef struct TypeS {} TypeT, will appear in the documentation as a struct\n# with name TypeT. When disabled the typedef will appear as a member of a file,\n# namespace, or class. And the struct will be named TypeS. This can typically\n# be useful for C code in case the coding convention dictates that all compound\n# types are typedef'ed and only the typedef is referenced, never the tag name.\n\nTYPEDEF_HIDES_STRUCT   = NO\n\n# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to\n# determine which symbols to keep in memory and which to flush to disk.\n# When the cache is full, less often used symbols will be written to disk.\n# For small to medium size projects (<1000 input files) the default value is\n# probably good enough. For larger projects a too small cache size can cause\n# doxygen to be busy swapping symbols to and from disk most of the time\n# causing a significant performance penalty.\n# If the system has enough physical memory increasing the cache will improve the\n# performance by keeping more symbols in memory. Note that the value works on\n# a logarithmic scale so increasing the size by one will roughly double the\n# memory usage. The cache size is given by this formula:\n# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,\n# corresponding to a cache size of 2^16 = 65536 symbols.\n\nSYMBOL_CACHE_SIZE      = 0\n\n# Similar to the SYMBOL_CACHE_SIZE the size of the symbol lookup cache can be\n# set using LOOKUP_CACHE_SIZE. This cache is used to resolve symbols given\n# their name and scope. Since this can be an expensive process and often the\n# same symbol appear multiple times in the code, doxygen keeps a cache of\n# pre-resolved symbols. If the cache is too small doxygen will become slower.\n# If the cache is too large, memory is wasted. The cache size is given by this\n# formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range is 0..9, the default is 0,\n# corresponding to a cache size of 2^16 = 65536 symbols.\n\nLOOKUP_CACHE_SIZE      = 0\n\n#---------------------------------------------------------------------------\n# Build related configuration options\n#---------------------------------------------------------------------------\n\n# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in\n# documentation are documented, even if no documentation was available.\n# Private class members and static file members will be hidden unless\n# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES\n\nEXTRACT_ALL            = NO\n\n# If the EXTRACT_PRIVATE tag is set to YES all private members of a class\n# will be included in the documentation.\n\nEXTRACT_PRIVATE        = NO\n\n# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal scope will be included in the documentation.\n\nEXTRACT_PACKAGE        = NO\n\n# If the EXTRACT_STATIC tag is set to YES all static members of a file\n# will be included in the documentation.\n\nEXTRACT_STATIC         = NO\n\n# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)\n# defined locally in source files will be included in the documentation.\n# If set to NO only classes defined in header files are included.\n\nEXTRACT_LOCAL_CLASSES  = YES\n\n# This flag is only useful for Objective-C code. When set to YES local\n# methods, which are defined in the implementation section but not in\n# the interface are included in the documentation.\n# If set to NO (the default) only methods in the interface are included.\n\nEXTRACT_LOCAL_METHODS  = NO\n\n# If this flag is set to YES, the members of anonymous namespaces will be\n# extracted and appear in the documentation as a namespace called\n# 'anonymous_namespace{file}', where file will be replaced with the base\n# name of the file that contains the anonymous namespace. By default\n# anonymous namespaces are hidden.\n\nEXTRACT_ANON_NSPACES   = NO\n\n# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all\n# undocumented members of documented classes, files or namespaces.\n# If set to NO (the default) these members will be included in the\n# various overviews, but no documentation section is generated.\n# This option has no effect if EXTRACT_ALL is enabled.\n\nHIDE_UNDOC_MEMBERS     = NO\n\n# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all\n# undocumented classes that are normally visible in the class hierarchy.\n# If set to NO (the default) these classes will be included in the various\n# overviews. This option has no effect if EXTRACT_ALL is enabled.\n\nHIDE_UNDOC_CLASSES     = NO\n\n# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all\n# friend (class|struct|union) declarations.\n# If set to NO (the default) these declarations will be included in the\n# documentation.\n\nHIDE_FRIEND_COMPOUNDS  = NO\n\n# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any\n# documentation blocks found inside the body of a function.\n# If set to NO (the default) these blocks will be appended to the\n# function's detailed documentation block.\n\nHIDE_IN_BODY_DOCS      = NO\n\n# The INTERNAL_DOCS tag determines if documentation\n# that is typed after a \\internal command is included. If the tag is set\n# to NO (the default) then the documentation will be excluded.\n# Set it to YES to include the internal documentation.\n\nINTERNAL_DOCS          = NO\n\n# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate\n# file names in lower-case letters. If set to YES upper-case letters are also\n# allowed. This is useful if you have classes or files whose names only differ\n# in case and if your file system supports case sensitive file names. Windows\n# and Mac users are advised to set this option to NO.\n\nCASE_SENSE_NAMES       = NO\n\n# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen\n# will show members with their full class and namespace scopes in the\n# documentation. If set to YES the scope will be hidden.\n\nHIDE_SCOPE_NAMES       = NO\n\n# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen\n# will put a list of the files that are included by a file in the documentation\n# of that file.\n\nSHOW_INCLUDE_FILES     = YES\n\n# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen\n# will list include files with double quotes in the documentation\n# rather than with sharp brackets.\n\nFORCE_LOCAL_INCLUDES   = NO\n\n# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]\n# is inserted in the documentation for inline members.\n\nINLINE_INFO            = YES\n\n# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen\n# will sort the (detailed) documentation of file and class members\n# alphabetically by member name. If set to NO the members will appear in\n# declaration order.\n\nSORT_MEMBER_DOCS       = YES\n\n# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the\n# brief documentation of file, namespace and class members alphabetically\n# by member name. If set to NO (the default) the members will appear in\n# declaration order.\n\nSORT_BRIEF_DOCS        = NO\n\n# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen\n# will sort the (brief and detailed) documentation of class members so that\n# constructors and destructors are listed first. If set to NO (the default)\n# the constructors will appear in the respective orders defined by\n# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS.\n# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO\n# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.\n\nSORT_MEMBERS_CTORS_1ST = NO\n\n# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the\n# hierarchy of group names into alphabetical order. If set to NO (the default)\n# the group names will appear in their defined order.\n\nSORT_GROUP_NAMES       = NO\n\n# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be\n# sorted by fully-qualified names, including namespaces. If set to\n# NO (the default), the class list will be sorted only by class name,\n# not including the namespace part.\n# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.\n# Note: This option applies only to the class list, not to the\n# alphabetical list.\n\nSORT_BY_SCOPE_NAME     = NO\n\n# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to\n# do proper type resolution of all parameters of a function it will reject a\n# match between the prototype and the implementation of a member function even\n# if there is only one candidate or it is obvious which candidate to choose\n# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen\n# will still accept a match between prototype and implementation in such cases.\n\nSTRICT_PROTO_MATCHING  = NO\n\n# The GENERATE_TODOLIST tag can be used to enable (YES) or\n# disable (NO) the todo list. This list is created by putting \\todo\n# commands in the documentation.\n\nGENERATE_TODOLIST      = YES\n\n# The GENERATE_TESTLIST tag can be used to enable (YES) or\n# disable (NO) the test list. This list is created by putting \\test\n# commands in the documentation.\n\nGENERATE_TESTLIST      = YES\n\n# The GENERATE_BUGLIST tag can be used to enable (YES) or\n# disable (NO) the bug list. This list is created by putting \\bug\n# commands in the documentation.\n\nGENERATE_BUGLIST       = YES\n\n# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or\n# disable (NO) the deprecated list. This list is created by putting\n# \\deprecated commands in the documentation.\n\nGENERATE_DEPRECATEDLIST= YES\n\n# The ENABLED_SECTIONS tag can be used to enable conditional\n# documentation sections, marked by \\if sectionname ... \\endif.\n\nENABLED_SECTIONS       =\n\n# The MAX_INITIALIZER_LINES tag determines the maximum number of lines\n# the initial value of a variable or macro consists of for it to appear in\n# the documentation. If the initializer consists of more lines than specified\n# here it will be hidden. Use a value of 0 to hide initializers completely.\n# The appearance of the initializer of individual variables and macros in the\n# documentation can be controlled using \\showinitializer or \\hideinitializer\n# command in the documentation regardless of this setting.\n\nMAX_INITIALIZER_LINES  = 30\n\n# Set the SHOW_USED_FILES tag to NO to disable the list of files generated\n# at the bottom of the documentation of classes and structs. If set to YES the\n# list will mention the files that were used to generate the documentation.\n\nSHOW_USED_FILES        = YES\n\n# Set the SHOW_FILES tag to NO to disable the generation of the Files page.\n# This will remove the Files entry from the Quick Index and from the\n# Folder Tree View (if specified). The default is YES.\n\nSHOW_FILES             = YES\n\n# Set the SHOW_NAMESPACES tag to NO to disable the generation of the\n# Namespaces page.\n# This will remove the Namespaces entry from the Quick Index\n# and from the Folder Tree View (if specified). The default is YES.\n\nSHOW_NAMESPACES        = YES\n\n# The FILE_VERSION_FILTER tag can be used to specify a program or script that\n# doxygen should invoke to get the current version for each file (typically from\n# the version control system). Doxygen will invoke the program by executing (via\n# popen()) the command <command> <input-file>, where <command> is the value of\n# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file\n# provided by doxygen. Whatever the program writes to standard output\n# is used as the file version. See the manual for examples.\n\nFILE_VERSION_FILTER    =\n\n# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed\n# by doxygen. The layout file controls the global structure of the generated\n# output files in an output format independent way. To create the layout file\n# that represents doxygen's defaults, run doxygen with the -l option.\n# You can optionally specify a file name after the option, if omitted\n# DoxygenLayout.xml will be used as the name of the layout file.\n\nLAYOUT_FILE            =\n\n# The CITE_BIB_FILES tag can be used to specify one or more bib files\n# containing the references data. This must be a list of .bib files. The\n# .bib extension is automatically appended if omitted. Using this command\n# requires the bibtex tool to be installed. See also\n# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style\n# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this\n# feature you need bibtex and perl available in the search path.\n\nCITE_BIB_FILES         =\n\n#---------------------------------------------------------------------------\n# configuration options related to warning and progress messages\n#---------------------------------------------------------------------------\n\n# The QUIET tag can be used to turn on/off the messages that are generated\n# by doxygen. Possible values are YES and NO. If left blank NO is used.\n\nQUIET                  = NO\n\n# The WARNINGS tag can be used to turn on/off the warning messages that are\n# generated by doxygen. Possible values are YES and NO. If left blank\n# NO is used.\n\nWARNINGS               = YES\n\n# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings\n# for undocumented members. If EXTRACT_ALL is set to YES then this flag will\n# automatically be disabled.\n\nWARN_IF_UNDOCUMENTED   = NO\n\n# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for\n# potential errors in the documentation, such as not documenting some\n# parameters in a documented function, or documenting parameters that\n# don't exist or using markup commands wrongly.\n\nWARN_IF_DOC_ERROR      = YES\n\n# The WARN_NO_PARAMDOC option can be enabled to get warnings for\n# functions that are documented, but have no documentation for their parameters\n# or return value. If set to NO (the default) doxygen will only warn about\n# wrong or incomplete parameter documentation, but not about the absence of\n# documentation.\n\nWARN_NO_PARAMDOC       = NO\n\n# The WARN_FORMAT tag determines the format of the warning messages that\n# doxygen can produce. The string should contain the $file, $line, and $text\n# tags, which will be replaced by the file and line number from which the\n# warning originated and the warning text. Optionally the format may contain\n# $version, which will be replaced by the version of the file (if it could\n# be obtained via FILE_VERSION_FILTER)\n\nWARN_FORMAT            = \"$file:$line: $text\"\n\n# The WARN_LOGFILE tag can be used to specify a file to which warning\n# and error messages should be written. If left blank the output is written\n# to stderr.\n\nWARN_LOGFILE           =\n\n#---------------------------------------------------------------------------\n# configuration options related to the input files\n#---------------------------------------------------------------------------\n\n# The INPUT tag can be used to specify the files and/or directories that contain\n# documented source files. You may enter file names like \"myfile.cpp\" or\n# directories like \"/usr/src/myproject\". Separate the files or directories\n# with spaces.\n\nINPUT                  = PSTreeGraphView\n\n# This tag can be used to specify the character encoding of the source files\n# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is\n# also the default input encoding. Doxygen uses libiconv (or the iconv built\n# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for\n# the list of possible encodings.\n\nINPUT_ENCODING         = UTF-8\n\n# If the value of the INPUT tag contains directories, you can use the\n# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp\n# and *.h) to filter out the source-files in the directories. If left\n# blank the following patterns are tested:\n# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh\n# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py\n# *.f90 *.f *.for *.vhd *.vhdl\n\nFILE_PATTERNS          = *.h \\\n                         *.hh \\\n                         *.hxx \\\n                         *.hpp \\\n                         *.h++\n\n# The RECURSIVE tag can be used to turn specify whether or not subdirectories\n# should be searched for input files as well. Possible values are YES and NO.\n# If left blank NO is used.\n\nRECURSIVE              = YES\n\n# The EXCLUDE tag can be used to specify files and/or directories that should be\n# excluded from the INPUT source files. This way you can easily exclude a\n# subdirectory from a directory tree whose root is specified with the INPUT tag.\n# Note that relative paths are relative to the directory from which doxygen is\n# run.\n\nEXCLUDE                =\n\n# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or\n# directories that are symbolic links (a Unix file system feature) are excluded\n# from the input.\n\nEXCLUDE_SYMLINKS       = NO\n\n# If the value of the INPUT tag contains directories, you can use the\n# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude\n# certain files from those directories. Note that the wildcards are matched\n# against the file with absolute path, so to exclude all test directories\n# for example use the pattern */test/*\n\nEXCLUDE_PATTERNS       = *Internal.*\n\n# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names\n# (namespaces, classes, functions, etc.) that should be excluded from the\n# output. The symbol name can be a fully qualified name, a word, or if the\n# wildcard * is used, a substring. Examples: ANamespace, AClass,\n# AClass::ANamespace, ANamespace::*Test\n\nEXCLUDE_SYMBOLS        =\n\n# The EXAMPLE_PATH tag can be used to specify one or more files or\n# directories that contain example code fragments that are included (see\n# the \\include command).\n\nEXAMPLE_PATH           =\n\n# If the value of the EXAMPLE_PATH tag contains directories, you can use the\n# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp\n# and *.h) to filter out the source-files in the directories. If left\n# blank all files are included.\n\nEXAMPLE_PATTERNS       = *\n\n# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be\n# searched for input files to be used with the \\include or \\dontinclude\n# commands irrespective of the value of the RECURSIVE tag.\n# Possible values are YES and NO. If left blank NO is used.\n\nEXAMPLE_RECURSIVE      = NO\n\n# The IMAGE_PATH tag can be used to specify one or more files or\n# directories that contain image that are included in the documentation (see\n# the \\image command).\n\nIMAGE_PATH             =\n\n# The INPUT_FILTER tag can be used to specify a program that doxygen should\n# invoke to filter for each input file. Doxygen will invoke the filter program\n# by executing (via popen()) the command <filter> <input-file>, where <filter>\n# is the value of the INPUT_FILTER tag, and <input-file> is the name of an\n# input file. Doxygen will then use the output that the filter program writes\n# to standard output.\n# If FILTER_PATTERNS is specified, this tag will be\n# ignored.\n\nINPUT_FILTER           =\n\n# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern\n# basis.\n# Doxygen will compare the file name with each pattern and apply the\n# filter if there is a match.\n# The filters are a list of the form:\n# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further\n# info on how filters are used. If FILTER_PATTERNS is empty or if\n# non of the patterns match the file name, INPUT_FILTER is applied.\n\nFILTER_PATTERNS        =\n\n# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using\n# INPUT_FILTER) will be used to filter the input files when producing source\n# files to browse (i.e. when SOURCE_BROWSER is set to YES).\n\nFILTER_SOURCE_FILES    = NO\n\n# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file\n# pattern. A pattern will override the setting for FILTER_PATTERN (if any)\n# and it is also possible to disable source filtering for a specific pattern\n# using *.ext= (so without naming a filter). This option only has effect when\n# FILTER_SOURCE_FILES is enabled.\n\nFILTER_SOURCE_PATTERNS =\n\n#---------------------------------------------------------------------------\n# configuration options related to source browsing\n#---------------------------------------------------------------------------\n\n# If the SOURCE_BROWSER tag is set to YES then a list of source files will\n# be generated. Documented entities will be cross-referenced with these sources.\n# Note: To get rid of all source code in the generated output, make sure also\n# VERBATIM_HEADERS is set to NO.\n\nSOURCE_BROWSER         = NO\n\n# Setting the INLINE_SOURCES tag to YES will include the body\n# of functions and classes directly in the documentation.\n\nINLINE_SOURCES         = NO\n\n# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct\n# doxygen to hide any special comment blocks from generated source code\n# fragments. Normal C, C++ and Fortran comments will always remain visible.\n\nSTRIP_CODE_COMMENTS    = YES\n\n# If the REFERENCED_BY_RELATION tag is set to YES\n# then for each documented function all documented\n# functions referencing it will be listed.\n\nREFERENCED_BY_RELATION = NO\n\n# If the REFERENCES_RELATION tag is set to YES\n# then for each documented function all documented entities\n# called/used by that function will be listed.\n\nREFERENCES_RELATION    = NO\n\n# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)\n# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from\n# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will\n# link to the source code.\n# Otherwise they will link to the documentation.\n\nREFERENCES_LINK_SOURCE = YES\n\n# If the USE_HTAGS tag is set to YES then the references to source code\n# will point to the HTML generated by the htags(1) tool instead of doxygen\n# built-in source browser. The htags tool is part of GNU's global source\n# tagging system (see http://www.gnu.org/software/global/global.html). You\n# will need version 4.8.6 or higher.\n\nUSE_HTAGS              = NO\n\n# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen\n# will generate a verbatim copy of the header file for each class for\n# which an include is specified. Set to NO to disable this.\n\nVERBATIM_HEADERS       = YES\n\n#---------------------------------------------------------------------------\n# configuration options related to the alphabetical class index\n#---------------------------------------------------------------------------\n\n# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index\n# of all compounds will be generated. Enable this if the project\n# contains a lot of classes, structs, unions or interfaces.\n\nALPHABETICAL_INDEX     = YES\n\n# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then\n# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns\n# in which this list will be split (can be a number in the range [1..20])\n\nCOLS_IN_ALPHA_INDEX    = 5\n\n# In case all classes in a project start with a common prefix, all\n# classes will be put under the same header in the alphabetical index.\n# The IGNORE_PREFIX tag can be used to specify one or more prefixes that\n# should be ignored while generating the index headers.\n\nIGNORE_PREFIX          =\n\n#---------------------------------------------------------------------------\n# configuration options related to the HTML output\n#---------------------------------------------------------------------------\n\n# If the GENERATE_HTML tag is set to YES (the default) Doxygen will\n# generate HTML output.\n\nGENERATE_HTML          = YES\n\n# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.\n# If a relative path is entered the value of OUTPUT_DIRECTORY will be\n# put in front of it. If left blank `html' will be used as the default path.\n\nHTML_OUTPUT            = html\n\n# The HTML_FILE_EXTENSION tag can be used to specify the file extension for\n# each generated HTML page (for example: .htm,.php,.asp). If it is left blank\n# doxygen will generate files with .html extension.\n\nHTML_FILE_EXTENSION    = .html\n\n# The HTML_HEADER tag can be used to specify a personal HTML header for\n# each generated HTML page. If it is left blank doxygen will generate a\n# standard header. Note that when using a custom header you are responsible\n#  for the proper inclusion of any scripts and style sheets that doxygen\n# needs, which is dependent on the configuration options used.\n# It is advised to generate a default header using \"doxygen -w html\n# header.html footer.html stylesheet.css YourConfigFile\" and then modify\n# that header. Note that the header is subject to change so you typically\n# have to redo this when upgrading to a newer version of doxygen or when\n# changing the value of configuration settings such as GENERATE_TREEVIEW!\n\nHTML_HEADER            =\n\n# The HTML_FOOTER tag can be used to specify a personal HTML footer for\n# each generated HTML page. If it is left blank doxygen will generate a\n# standard footer.\n\nHTML_FOOTER            =\n\n# The HTML_STYLESHEET tag can be used to specify a user-defined cascading\n# style sheet that is used by each HTML page. It can be used to\n# fine-tune the look of the HTML output. If the tag is left blank doxygen\n# will generate a default style sheet. Note that doxygen will try to copy\n# the style sheet file to the HTML output directory, so don't put your own\n# style sheet in the HTML output directory as well, or it will be erased!\n\nHTML_STYLESHEET        =\n\n# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or\n# other source files which should be copied to the HTML output directory. Note\n# that these files will be copied to the base HTML output directory. Use the\n# $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these\n# files. In the HTML_STYLESHEET file, use the file name only. Also note that\n# the files will be copied as-is; there are no commands or markers available.\n\nHTML_EXTRA_FILES       =\n\n# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output.\n# Doxygen will adjust the colors in the style sheet and background images\n# according to this color. Hue is specified as an angle on a colorwheel,\n# see http://en.wikipedia.org/wiki/Hue for more information.\n# For instance the value 0 represents red, 60 is yellow, 120 is green,\n# 180 is cyan, 240 is blue, 300 purple, and 360 is red again.\n# The allowed range is 0 to 359.\n\nHTML_COLORSTYLE_HUE    = 220\n\n# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of\n# the colors in the HTML output. For a value of 0 the output will use\n# grayscales only. A value of 255 will produce the most vivid colors.\n\nHTML_COLORSTYLE_SAT    = 100\n\n# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to\n# the luminance component of the colors in the HTML output. Values below\n# 100 gradually make the output lighter, whereas values above 100 make\n# the output darker. The value divided by 100 is the actual gamma applied,\n# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2,\n# and 100 does not change the gamma.\n\nHTML_COLORSTYLE_GAMMA  = 80\n\n# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML\n# page will contain the date and time when the page was generated. Setting\n# this to NO can help when comparing the output of multiple runs.\n\nHTML_TIMESTAMP         = YES\n\n# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML\n# documentation will contain sections that can be hidden and shown after the\n# page has loaded.\n\nHTML_DYNAMIC_SECTIONS  = YES\n\n# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of\n# entries shown in the various tree structured indices initially; the user\n# can expand and collapse entries dynamically later on. Doxygen will expand\n# the tree to such a level that at most the specified number of entries are\n# visible (unless a fully collapsed tree already exceeds this amount).\n# So setting the number of entries 1 will produce a full collapsed tree by\n# default. 0 is a special value representing an infinite number of entries\n# and will result in a full expanded tree by default.\n\nHTML_INDEX_NUM_ENTRIES = 100\n\n# If the GENERATE_DOCSET tag is set to YES, additional index files\n# will be generated that can be used as input for Apple's Xcode 3\n# integrated development environment, introduced with OSX 10.5 (Leopard).\n# To create a documentation set, doxygen will generate a Makefile in the\n# HTML output directory. Running make will produce the docset in that\n# directory and running \"make install\" will install the docset in\n# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find\n# it at startup.\n# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html\n# for more information.\n\nGENERATE_DOCSET        = NO\n\n# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the\n# feed. A documentation feed provides an umbrella under which multiple\n# documentation sets from a single provider (such as a company or product suite)\n# can be grouped.\n\nDOCSET_FEEDNAME        = \"Doxygen generated docs\"\n\n# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that\n# should uniquely identify the documentation set bundle. This should be a\n# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen\n# will append .docset to the name.\n\nDOCSET_BUNDLE_ID       = com.prestonsoft.Project\n\n# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely identify\n# the documentation publisher. This should be a reverse domain-name style\n# string, e.g. com.mycompany.MyDocSet.documentation.\n\nDOCSET_PUBLISHER_ID    = com.prestonsoft.Publisher\n\n# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher.\n\nDOCSET_PUBLISHER_NAME  = Publisher\n\n# If the GENERATE_HTMLHELP tag is set to YES, additional index files\n# will be generated that can be used as input for tools like the\n# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)\n# of the generated HTML documentation.\n\nGENERATE_HTMLHELP      = NO\n\n# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can\n# be used to specify the file name of the resulting .chm file. You\n# can add a path in front of the file if the result should not be\n# written to the html output directory.\n\nCHM_FILE               =\n\n# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can\n# be used to specify the location (absolute path including file name) of\n# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run\n# the HTML help compiler on the generated index.hhp.\n\nHHC_LOCATION           =\n\n# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag\n# controls if a separate .chi index file is generated (YES) or that\n# it should be included in the master .chm file (NO).\n\nGENERATE_CHI           = NO\n\n# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING\n# is used to encode HtmlHelp index (hhk), content (hhc) and project file\n# content.\n\nCHM_INDEX_ENCODING     =\n\n# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag\n# controls whether a binary table of contents is generated (YES) or a\n# normal table of contents (NO) in the .chm file.\n\nBINARY_TOC             = NO\n\n# The TOC_EXPAND flag can be set to YES to add extra items for group members\n# to the contents of the HTML help documentation and to the tree view.\n\nTOC_EXPAND             = NO\n\n# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and\n# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated\n# that can be used as input for Qt's qhelpgenerator to generate a\n# Qt Compressed Help (.qch) of the generated HTML documentation.\n\nGENERATE_QHP           = NO\n\n# If the QHG_LOCATION tag is specified, the QCH_FILE tag can\n# be used to specify the file name of the resulting .qch file.\n# The path specified is relative to the HTML output folder.\n\nQCH_FILE               =\n\n# The QHP_NAMESPACE tag specifies the namespace to use when generating\n# Qt Help Project output. For more information please see\n# http://doc.trolltech.com/qthelpproject.html#namespace\n\nQHP_NAMESPACE          = org.doxygen.Project\n\n# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating\n# Qt Help Project output. For more information please see\n# http://doc.trolltech.com/qthelpproject.html#virtual-folders\n\nQHP_VIRTUAL_FOLDER     = doc\n\n# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to\n# add. For more information please see\n# http://doc.trolltech.com/qthelpproject.html#custom-filters\n\nQHP_CUST_FILTER_NAME   =\n\n# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the\n# custom filter to add. For more information please see\n# <a href=\"http://doc.trolltech.com/qthelpproject.html#custom-filters\">\n# Qt Help Project / Custom Filters</a>.\n\nQHP_CUST_FILTER_ATTRS  =\n\n# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this\n# project's\n# filter section matches.\n# <a href=\"http://doc.trolltech.com/qthelpproject.html#filter-attributes\">\n# Qt Help Project / Filter Attributes</a>.\n\nQHP_SECT_FILTER_ATTRS  =\n\n# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can\n# be used to specify the location of Qt's qhelpgenerator.\n# If non-empty doxygen will try to run qhelpgenerator on the generated\n# .qhp file.\n\nQHG_LOCATION           =\n\n# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files\n#  will be generated, which together with the HTML files, form an Eclipse help\n# plugin. To install this plugin and make it available under the help contents\n# menu in Eclipse, the contents of the directory containing the HTML and XML\n# files needs to be copied into the plugins directory of eclipse. The name of\n# the directory within the plugins directory should be the same as\n# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before\n# the help appears.\n\nGENERATE_ECLIPSEHELP   = NO\n\n# A unique identifier for the eclipse help plugin. When installing the plugin\n# the directory name containing the HTML and XML files should also have\n# this name.\n\nECLIPSE_DOC_ID         = org.doxygen.Project\n\n# The DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs)\n# at top of each HTML page. The value NO (the default) enables the index and\n# the value YES disables it. Since the tabs have the same information as the\n# navigation tree you can set this option to NO if you already set\n# GENERATE_TREEVIEW to YES.\n\nDISABLE_INDEX          = NO\n\n# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index\n# structure should be generated to display hierarchical information.\n# If the tag value is set to YES, a side panel will be generated\n# containing a tree-like index structure (just like the one that\n# is generated for HTML Help). For this to work a browser that supports\n# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser).\n# Windows users are probably better off using the HTML help feature.\n# Since the tree basically has the same information as the tab index you\n# could consider to set DISABLE_INDEX to NO when enabling this option.\n\nGENERATE_TREEVIEW      = YES\n\n# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values\n# (range [0,1..20]) that doxygen will group on one line in the generated HTML\n# documentation. Note that a value of 0 will completely suppress the enum\n# values from appearing in the overview section.\n\nENUM_VALUES_PER_LINE   = 4\n\n# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be\n# used to set the initial width (in pixels) of the frame in which the tree\n# is shown.\n\nTREEVIEW_WIDTH         = 250\n\n# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open\n# links to external symbols imported via tag files in a separate window.\n\nEXT_LINKS_IN_WINDOW    = NO\n\n# Use this tag to change the font size of Latex formulas included\n# as images in the HTML documentation. The default is 10. Note that\n# when you change the font size after a successful doxygen run you need\n# to manually remove any form_*.png images from the HTML output directory\n# to force them to be regenerated.\n\nFORMULA_FONTSIZE       = 10\n\n# Use the FORMULA_TRANPARENT tag to determine whether or not the images\n# generated for formulas are transparent PNGs. Transparent PNGs are\n# not supported properly for IE 6.0, but are supported on all modern browsers.\n# Note that when changing this option you need to delete any form_*.png files\n# in the HTML output before the changes have effect.\n\nFORMULA_TRANSPARENT    = YES\n\n# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax\n# (see http://www.mathjax.org) which uses client side Javascript for the\n# rendering instead of using prerendered bitmaps. Use this if you do not\n# have LaTeX installed or if you want to formulas look prettier in the HTML\n# output. When enabled you may also need to install MathJax separately and\n# configure the path to it using the MATHJAX_RELPATH option.\n\nUSE_MATHJAX            = NO\n\n# When MathJax is enabled you need to specify the location relative to the\n# HTML output directory using the MATHJAX_RELPATH option. The destination\n# directory should contain the MathJax.js script. For instance, if the mathjax\n# directory is located at the same level as the HTML output directory, then\n# MATHJAX_RELPATH should be ../mathjax. The default value points to\n# the MathJax Content Delivery Network so you can quickly see the result without\n# installing MathJax.\n# However, it is strongly recommended to install a local\n# copy of MathJax from http://www.mathjax.org before deployment.\n\nMATHJAX_RELPATH        = http://www.mathjax.org/mathjax\n\n# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension\n# names that should be enabled during MathJax rendering.\n\nMATHJAX_EXTENSIONS     =\n\n# When the SEARCHENGINE tag is enabled doxygen will generate a search box\n# for the HTML output. The underlying search engine uses javascript\n# and DHTML and should work on any modern browser. Note that when using\n# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets\n# (GENERATE_DOCSET) there is already a search function so this one should\n# typically be disabled. For large projects the javascript based search engine\n# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.\n\nSEARCHENGINE           = YES\n\n# When the SERVER_BASED_SEARCH tag is enabled the search engine will be\n# implemented using a PHP enabled web server instead of at the web client\n# using Javascript. Doxygen will generate the search PHP script and index\n# file to put on the web server. The advantage of the server\n# based approach is that it scales better to large projects and allows\n# full text search. The disadvantages are that it is more difficult to setup\n# and does not have live searching capabilities.\n\nSERVER_BASED_SEARCH    = NO\n\n#---------------------------------------------------------------------------\n# configuration options related to the LaTeX output\n#---------------------------------------------------------------------------\n\n# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will\n# generate Latex output.\n\nGENERATE_LATEX         = NO\n\n# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.\n# If a relative path is entered the value of OUTPUT_DIRECTORY will be\n# put in front of it. If left blank `latex' will be used as the default path.\n\nLATEX_OUTPUT           = latex\n\n# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be\n# invoked. If left blank `latex' will be used as the default command name.\n# Note that when enabling USE_PDFLATEX this option is only used for\n# generating bitmaps for formulas in the HTML output, but not in the\n# Makefile that is written to the output directory.\n\nLATEX_CMD_NAME         = latex\n\n# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to\n# generate index for LaTeX. If left blank `makeindex' will be used as the\n# default command name.\n\nMAKEINDEX_CMD_NAME     = makeindex\n\n# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact\n# LaTeX documents. This may be useful for small projects and may help to\n# save some trees in general.\n\nCOMPACT_LATEX          = NO\n\n# The PAPER_TYPE tag can be used to set the paper type that is used\n# by the printer. Possible values are: a4, letter, legal and\n# executive. If left blank a4wide will be used.\n\nPAPER_TYPE             = a4\n\n# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX\n# packages that should be included in the LaTeX output.\n\nEXTRA_PACKAGES         =\n\n# The LATEX_HEADER tag can be used to specify a personal LaTeX header for\n# the generated latex document. The header should contain everything until\n# the first chapter. If it is left blank doxygen will generate a\n# standard header. Notice: only use this tag if you know what you are doing!\n\nLATEX_HEADER           =\n\n# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for\n# the generated latex document. The footer should contain everything after\n# the last chapter. If it is left blank doxygen will generate a\n# standard footer. Notice: only use this tag if you know what you are doing!\n\nLATEX_FOOTER           =\n\n# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated\n# is prepared for conversion to pdf (using ps2pdf). The pdf file will\n# contain links (just like the HTML output) instead of page references\n# This makes the output suitable for online browsing using a pdf viewer.\n\nPDF_HYPERLINKS         = YES\n\n# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of\n# plain latex in the generated Makefile. Set this option to YES to get a\n# higher quality PDF documentation.\n\nUSE_PDFLATEX           = YES\n\n# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\\\batchmode.\n# command to the generated LaTeX files. This will instruct LaTeX to keep\n# running if errors occur, instead of asking the user for help.\n# This option is also used when generating formulas in HTML.\n\nLATEX_BATCHMODE        = NO\n\n# If LATEX_HIDE_INDICES is set to YES then doxygen will not\n# include the index chapters (such as File Index, Compound Index, etc.)\n# in the output.\n\nLATEX_HIDE_INDICES     = NO\n\n# If LATEX_SOURCE_CODE is set to YES then doxygen will include\n# source code with syntax highlighting in the LaTeX output.\n# Note that which sources are shown also depends on other settings\n# such as SOURCE_BROWSER.\n\nLATEX_SOURCE_CODE      = NO\n\n# The LATEX_BIB_STYLE tag can be used to specify the style to use for the\n# bibliography, e.g. plainnat, or ieeetr. The default style is \"plain\". See\n# http://en.wikipedia.org/wiki/BibTeX for more info.\n\nLATEX_BIB_STYLE        = plain\n\n#---------------------------------------------------------------------------\n# configuration options related to the RTF output\n#---------------------------------------------------------------------------\n\n# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output\n# The RTF output is optimized for Word 97 and may not look very pretty with\n# other RTF readers or editors.\n\nGENERATE_RTF           = NO\n\n# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.\n# If a relative path is entered the value of OUTPUT_DIRECTORY will be\n# put in front of it. If left blank `rtf' will be used as the default path.\n\nRTF_OUTPUT             = rtf\n\n# If the COMPACT_RTF tag is set to YES Doxygen generates more compact\n# RTF documents. This may be useful for small projects and may help to\n# save some trees in general.\n\nCOMPACT_RTF            = NO\n\n# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated\n# will contain hyperlink fields. The RTF file will\n# contain links (just like the HTML output) instead of page references.\n# This makes the output suitable for online browsing using WORD or other\n# programs which support those fields.\n# Note: wordpad (write) and others do not support links.\n\nRTF_HYPERLINKS         = NO\n\n# Load style sheet definitions from file. Syntax is similar to doxygen's\n# config file, i.e. a series of assignments. You only have to provide\n# replacements, missing definitions are set to their default value.\n\nRTF_STYLESHEET_FILE    =\n\n# Set optional variables used in the generation of an rtf document.\n# Syntax is similar to doxygen's config file.\n\nRTF_EXTENSIONS_FILE    =\n\n#---------------------------------------------------------------------------\n# configuration options related to the man page output\n#---------------------------------------------------------------------------\n\n# If the GENERATE_MAN tag is set to YES (the default) Doxygen will\n# generate man pages\n\nGENERATE_MAN           = NO\n\n# The MAN_OUTPUT tag is used to specify where the man pages will be put.\n# If a relative path is entered the value of OUTPUT_DIRECTORY will be\n# put in front of it. If left blank `man' will be used as the default path.\n\nMAN_OUTPUT             = man\n\n# The MAN_EXTENSION tag determines the extension that is added to\n# the generated man pages (default is the subroutine's section .3)\n\nMAN_EXTENSION          = .3\n\n# If the MAN_LINKS tag is set to YES and Doxygen generates man output,\n# then it will generate one additional man file for each entity\n# documented in the real man page(s). These additional files\n# only source the real man page, but without them the man command\n# would be unable to find the correct page. The default is NO.\n\nMAN_LINKS              = NO\n\n#---------------------------------------------------------------------------\n# configuration options related to the XML output\n#---------------------------------------------------------------------------\n\n# If the GENERATE_XML tag is set to YES Doxygen will\n# generate an XML file that captures the structure of\n# the code including all documentation.\n\nGENERATE_XML           = NO\n\n# The XML_OUTPUT tag is used to specify where the XML pages will be put.\n# If a relative path is entered the value of OUTPUT_DIRECTORY will be\n# put in front of it. If left blank `xml' will be used as the default path.\n\nXML_OUTPUT             = xml\n\n# The XML_SCHEMA tag can be used to specify an XML schema,\n# which can be used by a validating XML parser to check the\n# syntax of the XML files.\n\nXML_SCHEMA             =\n\n# The XML_DTD tag can be used to specify an XML DTD,\n# which can be used by a validating XML parser to check the\n# syntax of the XML files.\n\nXML_DTD                =\n\n# If the XML_PROGRAMLISTING tag is set to YES Doxygen will\n# dump the program listings (including syntax highlighting\n# and cross-referencing information) to the XML output. Note that\n# enabling this will significantly increase the size of the XML output.\n\nXML_PROGRAMLISTING     = YES\n\n#---------------------------------------------------------------------------\n# configuration options for the AutoGen Definitions output\n#---------------------------------------------------------------------------\n\n# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will\n# generate an AutoGen Definitions (see autogen.sf.net) file\n# that captures the structure of the code including all\n# documentation. Note that this feature is still experimental\n# and incomplete at the moment.\n\nGENERATE_AUTOGEN_DEF   = NO\n\n#---------------------------------------------------------------------------\n# configuration options related to the Perl module output\n#---------------------------------------------------------------------------\n\n# If the GENERATE_PERLMOD tag is set to YES Doxygen will\n# generate a Perl module file that captures the structure of\n# the code including all documentation. Note that this\n# feature is still experimental and incomplete at the\n# moment.\n\nGENERATE_PERLMOD       = NO\n\n# If the PERLMOD_LATEX tag is set to YES Doxygen will generate\n# the necessary Makefile rules, Perl scripts and LaTeX code to be able\n# to generate PDF and DVI output from the Perl module output.\n\nPERLMOD_LATEX          = NO\n\n# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be\n# nicely formatted so it can be parsed by a human reader.\n# This is useful\n# if you want to understand what is going on.\n# On the other hand, if this\n# tag is set to NO the size of the Perl module output will be much smaller\n# and Perl will parse it just the same.\n\nPERLMOD_PRETTY         = YES\n\n# The names of the make variables in the generated doxyrules.make file\n# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.\n# This is useful so different doxyrules.make files included by the same\n# Makefile don't overwrite each other's variables.\n\nPERLMOD_MAKEVAR_PREFIX =\n\n#---------------------------------------------------------------------------\n# Configuration options related to the preprocessor\n#---------------------------------------------------------------------------\n\n# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will\n# evaluate all C-preprocessor directives found in the sources and include\n# files.\n\nENABLE_PREPROCESSING   = YES\n\n# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro\n# names in the source code. If set to NO (the default) only conditional\n# compilation will be performed. Macro expansion can be done in a controlled\n# way by setting EXPAND_ONLY_PREDEF to YES.\n\nMACRO_EXPANSION        = NO\n\n# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES\n# then the macro expansion is limited to the macros specified with the\n# PREDEFINED and EXPAND_AS_DEFINED tags.\n\nEXPAND_ONLY_PREDEF     = NO\n\n# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files\n# pointed to by INCLUDE_PATH will be searched when a #include is found.\n\nSEARCH_INCLUDES        = YES\n\n# The INCLUDE_PATH tag can be used to specify one or more directories that\n# contain include files that are not input files but should be processed by\n# the preprocessor.\n\nINCLUDE_PATH           =\n\n# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard\n# patterns (like *.h and *.hpp) to filter out the header-files in the\n# directories. If left blank, the patterns specified with FILE_PATTERNS will\n# be used.\n\nINCLUDE_FILE_PATTERNS  =\n\n# The PREDEFINED tag can be used to specify one or more macro names that\n# are defined before the preprocessor is started (similar to the -D option of\n# gcc). The argument of the tag is a list of macros of the form: name\n# or name=definition (no spaces). If the definition and the = are\n# omitted =1 is assumed. To prevent a macro definition from being\n# undefined via #undef or recursively expanded use the := operator\n# instead of the = operator.\n\nPREDEFINED             =\n\n# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then\n# this tag can be used to specify a list of macro names that should be expanded.\n# The macro definition that is found in the sources will be used.\n# Use the PREDEFINED tag if you want to use a different macro definition that\n# overrules the definition found in the source code.\n\nEXPAND_AS_DEFINED      =\n\n# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then\n# doxygen's preprocessor will remove all references to function-like macros\n# that are alone on a line, have an all uppercase name, and do not end with a\n# semicolon, because these will confuse the parser if not removed.\n\nSKIP_FUNCTION_MACROS   = YES\n\n#---------------------------------------------------------------------------\n# Configuration::additions related to external references\n#---------------------------------------------------------------------------\n\n# The TAGFILES option can be used to specify one or more tagfiles. For each\n# tag file the location of the external documentation should be added. The\n# format of a tag file without this location is as follows:\n#\n# TAGFILES = file1 file2 ...\n# Adding location for the tag files is done as follows:\n#\n# TAGFILES = file1=loc1 \"file2 = loc2\" ...\n# where \"loc1\" and \"loc2\" can be relative or absolute paths\n# or URLs. Note that each tag file must have a unique name (where the name does\n# NOT include the path). If a tag file is not located in the directory in which\n# doxygen is run, you must also specify the path to the tagfile here.\n\nTAGFILES               =\n\n# When a file name is specified after GENERATE_TAGFILE, doxygen will create\n# a tag file that is based on the input files it reads.\n\nGENERATE_TAGFILE       =\n\n# If the ALLEXTERNALS tag is set to YES all external classes will be listed\n# in the class index. If set to NO only the inherited external classes\n# will be listed.\n\nALLEXTERNALS           = NO\n\n# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed\n# in the modules index. If set to NO, only the current project's groups will\n# be listed.\n\nEXTERNAL_GROUPS        = YES\n\n# The PERL_PATH should be the absolute path and name of the perl script\n# interpreter (i.e. the result of `which perl').\n\nPERL_PATH              = /usr/bin/perl\n\n#---------------------------------------------------------------------------\n# Configuration options related to the dot tool\n#---------------------------------------------------------------------------\n\n# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will\n# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base\n# or super classes. Setting the tag to NO turns the diagrams off. Note that\n# this option also works with HAVE_DOT disabled, but it is recommended to\n# install and use dot, since it yields more powerful graphs.\n\nCLASS_DIAGRAMS         = YES\n\n# You can define message sequence charts within doxygen comments using the \\msc\n# command. Doxygen will then run the mscgen tool (see\n# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the\n# documentation. The MSCGEN_PATH tag allows you to specify the directory where\n# the mscgen tool resides. If left empty the tool is assumed to be found in the\n# default search path.\n\nMSCGEN_PATH            =\n\n# If set to YES, the inheritance and collaboration graphs will hide\n# inheritance and usage relations if the target is undocumented\n# or is not a class.\n\nHIDE_UNDOC_RELATIONS   = YES\n\n# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is\n# available from the path. This tool is part of Graphviz, a graph visualization\n# toolkit from AT&T and Lucent Bell Labs. The other options in this section\n# have no effect if this option is set to NO (the default)\n\nHAVE_DOT               = NO\n\n# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is\n# allowed to run in parallel. When set to 0 (the default) doxygen will\n# base this on the number of processors available in the system. You can set it\n# explicitly to a value larger than 0 to get control over the balance\n# between CPU load and processing speed.\n\nDOT_NUM_THREADS        = 0\n\n# By default doxygen will use the Helvetica font for all dot files that\n# doxygen generates. When you want a differently looking font you can specify\n# the font name using DOT_FONTNAME. You need to make sure dot is able to find\n# the font, which can be done by putting it in a standard location or by setting\n# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the\n# directory containing the font.\n\nDOT_FONTNAME           = Helvetica\n\n# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.\n# The default size is 10pt.\n\nDOT_FONTSIZE           = 10\n\n# By default doxygen will tell dot to use the Helvetica font.\n# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to\n# set the path where dot can find it.\n\nDOT_FONTPATH           =\n\n# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen\n# will generate a graph for each documented class showing the direct and\n# indirect inheritance relations. Setting this tag to YES will force the\n# CLASS_DIAGRAMS tag to NO.\n\nCLASS_GRAPH            = YES\n\n# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen\n# will generate a graph for each documented class showing the direct and\n# indirect implementation dependencies (inheritance, containment, and\n# class references variables) of the class with other documented classes.\n\nCOLLABORATION_GRAPH    = YES\n\n# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen\n# will generate a graph for groups, showing the direct groups dependencies\n\nGROUP_GRAPHS           = YES\n\n# If the UML_LOOK tag is set to YES doxygen will generate inheritance and\n# collaboration diagrams in a style similar to the OMG's Unified Modeling\n# Language.\n\nUML_LOOK               = NO\n\n# If the UML_LOOK tag is enabled, the fields and methods are shown inside\n# the class node. If there are many fields or methods and many nodes the\n# graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS\n# threshold limits the number of items for each type to make the size more\n# managable. Set this to 0 for no limit. Note that the threshold may be\n# exceeded by 50% before the limit is enforced.\n\nUML_LIMIT_NUM_FIELDS   = 10\n\n# If set to YES, the inheritance and collaboration graphs will show the\n# relations between templates and their instances.\n\nTEMPLATE_RELATIONS     = NO\n\n# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT\n# tags are set to YES then doxygen will generate a graph for each documented\n# file showing the direct and indirect include dependencies of the file with\n# other documented files.\n\nINCLUDE_GRAPH          = YES\n\n# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and\n# HAVE_DOT tags are set to YES then doxygen will generate a graph for each\n# documented header file showing the documented files that directly or\n# indirectly include this file.\n\nINCLUDED_BY_GRAPH      = YES\n\n# If the CALL_GRAPH and HAVE_DOT options are set to YES then\n# doxygen will generate a call dependency graph for every global function\n# or class method. Note that enabling this option will significantly increase\n# the time of a run. So in most cases it will be better to enable call graphs\n# for selected functions only using the \\callgraph command.\n\nCALL_GRAPH             = NO\n\n# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then\n# doxygen will generate a caller dependency graph for every global function\n# or class method. Note that enabling this option will significantly increase\n# the time of a run. So in most cases it will be better to enable caller\n# graphs for selected functions only using the \\callergraph command.\n\nCALLER_GRAPH           = NO\n\n# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen\n# will generate a graphical hierarchy of all classes instead of a textual one.\n\nGRAPHICAL_HIERARCHY    = YES\n\n# If the DIRECTORY_GRAPH and HAVE_DOT tags are set to YES\n# then doxygen will show the dependencies a directory has on other directories\n# in a graphical way. The dependency relations are determined by the #include\n# relations between the files in the directories.\n\nDIRECTORY_GRAPH        = YES\n\n# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images\n# generated by dot. Possible values are svg, png, jpg, or gif.\n# If left blank png will be used. If you choose svg you need to set\n# HTML_FILE_EXTENSION to xhtml in order to make the SVG files\n# visible in IE 9+ (other browsers do not have this requirement).\n\nDOT_IMAGE_FORMAT       = png\n\n# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to\n# enable generation of interactive SVG images that allow zooming and panning.\n# Note that this requires a modern browser other than Internet Explorer.\n# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you\n# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files\n# visible. Older versions of IE do not have SVG support.\n\nINTERACTIVE_SVG        = NO\n\n# The tag DOT_PATH can be used to specify the path where the dot tool can be\n# found. If left blank, it is assumed the dot tool can be found in the path.\n\nDOT_PATH               =\n\n# The DOTFILE_DIRS tag can be used to specify one or more directories that\n# contain dot files that are included in the documentation (see the\n# \\dotfile command).\n\nDOTFILE_DIRS           =\n\n# The MSCFILE_DIRS tag can be used to specify one or more directories that\n# contain msc files that are included in the documentation (see the\n# \\mscfile command).\n\nMSCFILE_DIRS           =\n\n# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of\n# nodes that will be shown in the graph. If the number of nodes in a graph\n# becomes larger than this value, doxygen will truncate the graph, which is\n# visualized by representing a node as a red box. Note that doxygen if the\n# number of direct children of the root node in a graph is already larger than\n# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note\n# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.\n\nDOT_GRAPH_MAX_NODES    = 50\n\n# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the\n# graphs generated by dot. A depth value of 3 means that only nodes reachable\n# from the root by following a path via at most 3 edges will be shown. Nodes\n# that lay further from the root node will be omitted. Note that setting this\n# option to 1 or 2 may greatly reduce the computation time needed for large\n# code bases. Also note that the size of a graph can be further restricted by\n# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.\n\nMAX_DOT_GRAPH_DEPTH    = 0\n\n# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent\n# background. This is disabled by default, because dot on Windows does not\n# seem to support this out of the box. Warning: Depending on the platform used,\n# enabling this option may lead to badly anti-aliased labels on the edges of\n# a graph (i.e. they become hard to read).\n\nDOT_TRANSPARENT        = NO\n\n# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output\n# files in one run (i.e. multiple -o and -T options on the command line). This\n# makes dot run faster, but since only newer versions of dot (>1.8.10)\n# support this, this feature is disabled by default.\n\nDOT_MULTI_TARGETS      = NO\n\n# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will\n# generate a legend page explaining the meaning of the various boxes and\n# arrows in the dot generated graphs.\n\nGENERATE_LEGEND        = YES\n\n# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will\n# remove the intermediate dot files that are used to generate\n# the various graphs.\n\nDOT_CLEANUP            = YES\n"
  },
  {
    "path": "Example 1/Classes/Controller/PSHTreeGraphAppDelegate.h",
    "content": "//\n//  PSHTreeGraphAppDelegate.h\n//  PSHTreeGraph - Example 1\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright Preston Software 2010. All rights reserved.\n//\n\n\n#import <UIKit/UIKit.h>\n\n@class PSHTreeGraphViewController;\n\n@interface PSHTreeGraphAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (nonatomic, strong) IBOutlet UIWindow *window;\n@property (nonatomic, strong) IBOutlet PSHTreeGraphViewController *viewController;\n\n@end\n\n"
  },
  {
    "path": "Example 1/Classes/Controller/PSHTreeGraphAppDelegate.m",
    "content": "//\n//  PSHTreeGraphAppDelegate.m\n//  PSHTreeGraph - Example 1\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright Preston Software 2010. All rights reserved.\n//\n\n\n#import \"PSHTreeGraphAppDelegate.h\"\n#import \"PSHTreeGraphViewController.h\"\n\n\n@implementation PSHTreeGraphAppDelegate\n\n\n#pragma mark - Application Lifecycle\n\n- (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n    // Override point for customization after application launch.\n    _window.rootViewController = _viewController;\n    [_window addSubview:_viewController.view];\n    [_window makeKeyAndVisible];\n\n\treturn YES;\n}\n\n\n@end\n"
  },
  {
    "path": "Example 1/Classes/Controller/PSHTreeGraphViewController.h",
    "content": "//\n//  PSHTreeGraphViewController.h\n//  PSHTreeGraph - Example 1\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright Preston Software 2010. All rights reserved.\n//\n\n\n#import <UIKit/UIKit.h>\n#import \"PSTreeGraphDelegate.h\"\n\n\n@class PSBaseTreeGraphView;\n\n\n@interface PSHTreeGraphViewController : UIViewController <PSTreeGraphDelegate>\n\n// The TreeGraph\n@property(nonatomic, weak) IBOutlet PSBaseTreeGraphView *treeGraphView;\n\n// The name of the root class that the TreeGraph is currently showing.\n@property(nonatomic, copy) NSString *rootClassName;\n\n@end\n\n"
  },
  {
    "path": "Example 1/Classes/Controller/PSHTreeGraphViewController.m",
    "content": "//\n//  PSHTreeGraphViewController.m\n//  PSHTreeGraph - Example 1\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright Preston Software 2010. All rights reserved.\n//\n\n\n#import \"PSHTreeGraphViewController.h\"\n\n#import \"PSBaseTreeGraphView.h\"\n#import \"MyLeafView.h\"\n\n#import \"ObjCClassWrapper.h\"\n\n\n\n@implementation PSHTreeGraphViewController\n\n\n#pragma mark - Property Accessors\n\n- (void) setRootClassName:(NSString *)newRootClassName\n{\n    NSParameterAssert(newRootClassName != nil);\n\n    if (![_rootClassName isEqualToString:newRootClassName]) {\n        _rootClassName = [newRootClassName copy];\n\n        // Set the orientation of the Graph\n        _treeGraphView.treeGraphOrientation  = PSTreeGraphOrientationStyleHorizontal;\n        \n        // See the enum for more options\n        // _treeGraphView.treeGraphOrientation  = PSTreeGraphOrientationStyleHorizontalFlipped;\n\n        // Get an ObjCClassWrapper for the named Objective-C Class, and set it as the TreeGraph's root.\n        _treeGraphView.modelRoot = [ObjCClassWrapper wrapperForClassNamed:_rootClassName];\n    }\n}\n\n\n#pragma mark - View Creation and Initializer\n\n// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.\n- (void) viewDidLoad\n{\n    [super viewDidLoad];\n\n\t// Set the delegate to self.\n\t(self.treeGraphView).delegate = self;\n\n\t// Specify a .nib file for the TreeGraph to load each time it needs to create a new node view.\n    (self.treeGraphView).nodeViewNibName = @\"ObjCClassTreeNodeView\";\n\n    // Specify a starting root class to inspect on launch.\n    \n    self.rootClassName = @\"UIControl\";\n    \n    // The system includes some other abstract base classes that are interesting:\n    // [self setRootClassName:@\"CAAnimation\"];\n\n}\n\n// Override to allow orientations other than the default portrait orientation.\n- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation\n{\n    return YES;\n}\n\n- (void) willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation\n                                         duration:(NSTimeInterval)duration\n{\n\t// Keep the view in sync\n\t[self.treeGraphView parentClipViewDidResize:nil];\n}\n\n\n#pragma mark - TreeGraph Delegate\n\n-(void) configureNodeView:(UIView *)nodeView\n            withModelNode:(id <PSTreeGraphModelNode> )modelNode\n{\n    NSParameterAssert(nodeView != nil);\n    NSParameterAssert(modelNode != nil);\n\n\t// NOT FLEXIBLE: treat it like a model node instead of the interface.\n\tObjCClassWrapper *objectWrapper = (ObjCClassWrapper *)modelNode;\n\tMyLeafView *leafView = (MyLeafView *)nodeView;\n\n\t// button\n\tif ( [objectWrapper childModelNodes].count == 0 ) {\n\t\t[leafView.expandButton setHidden:YES];\n\t}\n\n\t// labels\n\tleafView.titleLabel.text\t= objectWrapper.name;\n\tleafView.detailLabel.text\t= [NSString stringWithFormat:@\"%zd bytes\",\n                                   objectWrapper.wrappedClassInstanceSize];\n\n}\n\n\n#pragma mark - Resouce Management\n\n- (void) didReceiveMemoryWarning\n{\n\t// Releases the view if it doesn't have a superview.\n    [super didReceiveMemoryWarning];\n\n\t// Release any cached data, images, etc that aren't in use.\n}\n\n- (void) viewDidUnload\n{\n    // Depricated in iOS 6.0  -  This method is never called.\n    \n    [super viewDidUnload];\n}\n\n\n@end\n"
  },
  {
    "path": "Example 1/Classes/Model/ObjCClass/ObjCClassWrapper.h",
    "content": "\n//     File: ObjCClassWrapper.h\n// Abstract: ObjCClassWrapper Interface\n//  Version: 1.1\n//\n// Based largely on Apple TreeView's example.\n\n\n#import <Foundation/Foundation.h>\n#import \"PSTreeGraphModelNode.h\"\n\n\n/// Wraps an Objective-C Class in an NSObject, that we can conveninently query to find\n/// related classes (superclass and subclasses) and the instance size.  Conforms to\n/// the PSTreeGraphModelNode protocol, so that we can use these as model nodes with a TreeGraph.\n\n@interface ObjCClassWrapper : NSObject <PSTreeGraphModelNode, NSCopying>\n\n\n#pragma mark - Creating Instances\n\n/// Returns an ObjCClassWrapper for the given Objective-C class.  ObjCClassWrapper maintains\n/// a set of unique instances, so this will always return the same ObjCClassWrapper for a given Class.\n\n+ (ObjCClassWrapper *) wrapperForClass:(Class)aClass;\n\n\n/// Returns an ObjCClassWrapper for the given Objective-C class, by looking the Class up by\n/// name and then invoking +wrapperForClass:\n\n+ (ObjCClassWrapper *) wrapperForClassNamed:(NSString *)aClassName;\n\n\n#pragma mark - Property Accessors\n\n/// The wrappedClass' name (e.g. @\"UIControl\" or @\"CALayer\" or \"CAAnimation\")\n\n@property (weak, nonatomic, readonly) NSString *name;\n\n\n/// An ObjCClassWrapper representing the wrappedClass' superclass.\n\n@property (weak, nonatomic, readonly) ObjCClassWrapper *superclassWrapper;\n\n\n/// An array of ObjCClassWrappers representing the wrappedClass' subclasses.\n/// (For convenience, the subclasses are sorted by name.)\n\n@property (weak, nonatomic, readonly) NSArray *subclasses;\n\n\n/// The wrappedClass' intrinsic instance size (which doesn't include external/auxiliary storage).\n\n@property (nonatomic, readonly) size_t wrappedClassInstanceSize;\n\n\n@end\n"
  },
  {
    "path": "Example 1/Classes/Model/ObjCClass/ObjCClassWrapper.m",
    "content": "\n//     File: ObjCClassWrapper.m\n// Abstract: ObjCClassWrapper Implementation\n//  Version: 1.1\n//\n// Based largely on Apple TreeView's example.\n\n\n#import \"ObjCClassWrapper.h\"\n#import <objc/runtime.h>\n\n\n// Keeps track of the ObjCClassWrapper instances we create.  We create one unique\n// ObjCClassWrapper for each Objective-C \"Class\" we're asked to wrap.\n\nstatic NSMutableDictionary *classToWrapperMapTable = nil;\n\n\n// Compares two ObjCClassWrappers by name, and returns an NSComparisonResult.\n\nstatic NSInteger CompareClassNames(id classA, id classB, void* context)\n{\n    return [[classA description] compare:[classB description]];\n}\n\n\n@interface ObjCClassWrapper ()\n{\n    \n@private\n    Class wrappedClass;\n    NSMutableArray *subclassesCache;\n}\n\n@end\n\n\n@implementation ObjCClassWrapper\n\n\n#pragma mark - NSCopying\n\n- (id) copyWithZone:(NSZone *)zone\n{\n    return self;\n}\n\n\n#pragma mark - Creating Instances\n\n- (instancetype) initWithWrappedClass:(Class)aClass\n{\n    self = [super init];\n    if (self) {\n        if (aClass != Nil) {\n            wrappedClass = aClass;\n            if (classToWrapperMapTable == nil) {\n                classToWrapperMapTable = [NSMutableDictionary dictionaryWithCapacity:16];\n            }\n            classToWrapperMapTable[(id<NSCopying>)wrappedClass] = self;\n        } else {\n            return nil;\n        }\n    }\n    return self;\n}\n\n+ (ObjCClassWrapper *) wrapperForClass:(Class)aClass\n{\n    ObjCClassWrapper *wrapper = classToWrapperMapTable[aClass];\n    if (wrapper == nil) {\n        wrapper = [[self alloc] initWithWrappedClass:aClass];\n    }\n    return wrapper;\n}\n\n+ (ObjCClassWrapper *) wrapperForClassNamed:(NSString *)aClassName\n{\n    return [self wrapperForClass:NSClassFromString(aClassName)];\n}\n\n\n#pragma mark -  Property Accessors\n\n- (NSString *) name\n{\n    return NSStringFromClass(wrappedClass);\n}\n\n- (NSString *) description\n{\n    return self.name;\n}\n\n- (size_t) wrappedClassInstanceSize\n{\n    return class_getInstanceSize(wrappedClass);\n}\n\n- (ObjCClassWrapper *) superclassWrapper\n{\n    return [[self class] wrapperForClass:class_getSuperclass(wrappedClass)];\n}\n\n- (NSArray *) subclasses\n{\n    // If we haven't built our array of subclasses yet, do so.\n    if (subclassesCache == nil) {\n\n        // Iterate over all classes (as described in objc/objc-runtime.h) to find the subclasses of wrappedClass.\n        int i;\n        int numClasses = 0;\n        int newNumClasses = objc_getClassList(NULL, 0);\n        Class* classes = NULL;\n        while (numClasses < newNumClasses) {\n            numClasses = newNumClasses;\n            classes = (Class*)realloc(classes, sizeof(Class) * numClasses);\n            newNumClasses = objc_getClassList(classes, numClasses);\n        }\n\n        // Make an array of ObjCClassWrapper instances to represent the classes.\n        subclassesCache = [[NSMutableArray alloc] initWithCapacity:numClasses];\n        for (i = 0; i < numClasses; i++) {\n            if (class_getSuperclass(classes[i]) == wrappedClass) {\n                [subclassesCache addObject:[[self class] wrapperForClass:classes[i]]];\n            }\n        }\n        free(classes);\n\n        // Sort subclasses by name.\n        [subclassesCache sortUsingFunction:CompareClassNames context:NULL];\n    }\n    return subclassesCache;\n}\n\n\n#pragma mark - TreeGraphModelNode Protocol\n\n- (id <PSTreeGraphModelNode> ) parentModelNode\n{\n    return self.superclassWrapper;\n}\n\n- (NSArray *) childModelNodes\n{\n    return self.subclasses;\n}\n\n\n@end\n"
  },
  {
    "path": "Example 1/Classes/View/MyLeafView.h",
    "content": "//\n//  MyLeafView.h\n//  PSHTreeGraph - Example 1\n//\n//  Created by Ed Preston on 7/26/10.\n//  Copyright 2010 Preston Software. All rights reserved.\n//\n\n\n#import <UIKit/UIKit.h>\n\n#import \"PSBaseLeafView.h\"\n\n\n@interface MyLeafView : PSBaseLeafView\n\n@property (nonatomic, weak) IBOutlet UIButton *expandButton;\n@property (nonatomic, weak) IBOutlet UILabel *titleLabel;\n@property (nonatomic, weak) IBOutlet UILabel *detailLabel;\n\n@end\n"
  },
  {
    "path": "Example 1/Classes/View/MyLeafView.m",
    "content": "//\n//  MyLeafView.m\n//  PSHTreeGraph - Example 1\n//\n//  Created by Ed Preston on 7/26/10.\n//  Copyright 2015 Preston Software. All rights reserved.\n//\n\n\n#import \"MyLeafView.h\"\n\n\n\n@implementation MyLeafView\n\n\n#pragma mark - NSCoding\n\n- (instancetype) initWithCoder:(NSCoder *)decoder\n{\n    self = [super initWithCoder:decoder];\n    if (self) {\n\n        // Initialization code, leaf views are always loaded from the corresponding XIB.\n        // Be sure to set the view class to your subclass in interface builder.\n\n        // Example: Inverse the color scheme\n\n//        self.fillColor = [UIColor yellowColor];\n//        self.selectionColor = [UIColor orangeColor];\n\n    }\n    return self;\n}\n\n\n@end\n"
  },
  {
    "path": "Example 1/Classes/View/MyTreeGraphView.h",
    "content": "//\n//  MyTreeGraphView.h\n//  PSHTreeGraph - Example 1\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright 2010 Preston Software. All rights reserved.\n//\n\n\n#import <UIKit/UIKit.h>\n\n#import \"PSBaseTreeGraphView.h\"\n\n\n@interface MyTreeGraphView : PSBaseTreeGraphView\n\n// TODO: Place project specific code, extentions here.\n\n@end\n"
  },
  {
    "path": "Example 1/Classes/View/MyTreeGraphView.m",
    "content": "//\n//  MyTreeGraphView.m\n//  PSHTreeGraph - Example 1\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright 2015 Preston Software. All rights reserved.\n//\n\n\n#import \"MyTreeGraphView.h\"\n\n\n@implementation MyTreeGraphView\n\n\n#pragma mark - UIView\n\n- (instancetype) initWithFrame:(CGRect)frame\n{\n    if ((self = [super initWithFrame:frame])) {\n\n        // Initialization code when created dynamicly\n\n    }\n    return self;\n}\n\n\n#pragma mark - NSCoding\n\n- (instancetype) initWithCoder:(NSCoder *)decoder\n{\n    self = [super initWithCoder:decoder];\n    if (self) {\n\n        // Initialization code when loaded from XIB (this example)\n\n        // Example: Set a larger content margin than default.\n\n//        self.contentMargin = 60.0;\n\n    }\n    return self;\n}\n\n\n@end\n"
  },
  {
    "path": "Example 1/Interface/MainWindow.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB\" version=\"3.0\" toolsVersion=\"8191\" systemVersion=\"14F27\" targetRuntime=\"iOS.CocoaTouch.iPad\" propertyAccessControl=\"none\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"8154\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\" customClass=\"UIApplication\">\n            <connections>\n                <outlet property=\"delegate\" destination=\"6\" id=\"9\"/>\n            </connections>\n        </placeholder>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <window opaque=\"NO\" clearsContextBeforeDrawing=\"NO\" contentMode=\"scaleToFill\" id=\"2\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"768\" height=\"1024\"/>\n            <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n            <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n            <simulatedStatusBarMetrics key=\"simulatedStatusBarMetrics\" statusBarStyle=\"blackOpaque\"/>\n            <connections>\n                <outlet property=\"rootViewController\" destination=\"7\" id=\"bFt-1r-4NS\"/>\n            </connections>\n        </window>\n        <customObject id=\"6\" userLabel=\"TreeGraph App Delegate\" customClass=\"PSHTreeGraphAppDelegate\">\n            <connections>\n                <outlet property=\"viewController\" destination=\"7\" id=\"8\"/>\n                <outlet property=\"window\" destination=\"2\" id=\"10\"/>\n            </connections>\n        </customObject>\n        <viewController nibName=\"PSHTreeGraphViewController\" id=\"7\" userLabel=\"TreeGraph View Controller\" customClass=\"PSHTreeGraphViewController\">\n            <extendedEdge key=\"edgesForExtendedLayout\"/>\n            <simulatedStatusBarMetrics key=\"simulatedStatusBarMetrics\" statusBarStyle=\"blackOpaque\"/>\n        </viewController>\n    </objects>\n</document>\n"
  },
  {
    "path": "Example 1/Interface/ObjCClassTreeNodeView.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB\" version=\"3.0\" toolsVersion=\"8191\" systemVersion=\"14F27\" targetRuntime=\"iOS.CocoaTouch.iPad\" propertyAccessControl=\"none\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"8154\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\" customClass=\"PSBaseSubtreeView\">\n            <connections>\n                <outlet property=\"nodeView\" destination=\"1\" id=\"7\"/>\n            </connections>\n        </placeholder>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"1\" customClass=\"MyLeafView\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"229\" height=\"48\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <button contentMode=\"center\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" showsTouchWhenHighlighted=\"YES\" lineBreakMode=\"middleTruncation\" id=\"3\">\n                    <rect key=\"frame\" x=\"191\" y=\"8\" width=\"29\" height=\"31\"/>\n                    <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                    <fontDescription key=\"fontDescription\" name=\"Helvetica-Bold\" family=\"Helvetica\" pointSize=\"15\"/>\n                    <state key=\"normal\" image=\"TreeViewSubtreeExpandedButton.png\">\n                        <color key=\"titleColor\" red=\"0.1960784314\" green=\"0.30980392159999998\" blue=\"0.52156862749999999\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                        <color key=\"titleShadowColor\" white=\"0.5\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </state>\n                    <state key=\"highlighted\">\n                        <color key=\"titleColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </state>\n                    <connections>\n                        <action selector=\"toggleExpansion:\" destination=\"-1\" eventType=\"touchUpInside\" id=\"9\"/>\n                    </connections>\n                </button>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" text=\"Label\" lineBreakMode=\"tailTruncation\" minimumFontSize=\"10\" id=\"16\" userLabel=\"title\">\n                    <rect key=\"frame\" x=\"9\" y=\"7\" width=\"169\" height=\"21\"/>\n                    <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                    <fontDescription key=\"fontDescription\" name=\"Helvetica-Bold\" family=\"Helvetica\" pointSize=\"14\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" text=\"Label\" lineBreakMode=\"tailTruncation\" minimumFontSize=\"10\" id=\"17\" userLabel=\"detail\">\n                    <rect key=\"frame\" x=\"9\" y=\"23\" width=\"169\" height=\"21\"/>\n                    <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                    <fontDescription key=\"fontDescription\" name=\"Helvetica\" family=\"Helvetica\" pointSize=\"14\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <simulatedOrientationMetrics key=\"simulatedOrientationMetrics\" orientation=\"landscapeRight\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n            <connections>\n                <outlet property=\"detailLabel\" destination=\"17\" id=\"18\"/>\n                <outlet property=\"expandButton\" destination=\"3\" id=\"15\"/>\n                <outlet property=\"titleLabel\" destination=\"16\" id=\"19\"/>\n            </connections>\n        </view>\n    </objects>\n    <resources>\n        <image name=\"TreeViewSubtreeExpandedButton.png\" width=\"15\" height=\"17\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "Example 1/Interface/PSHTreeGraphViewController.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB\" version=\"3.0\" toolsVersion=\"8191\" systemVersion=\"14F27\" targetRuntime=\"iOS.CocoaTouch.iPad\" propertyAccessControl=\"none\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"8154\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\" customClass=\"PSHTreeGraphViewController\">\n            <connections>\n                <outlet property=\"treeGraphView\" destination=\"5\" id=\"8\"/>\n                <outlet property=\"view\" destination=\"2\" id=\"3\"/>\n            </connections>\n        </placeholder>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view clearsContextBeforeDrawing=\"NO\" contentMode=\"scaleToFill\" id=\"2\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"1024\" height=\"768\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <scrollView autoresizesSubviews=\"NO\" clearsContextBeforeDrawing=\"NO\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" alwaysBounceVertical=\"YES\" alwaysBounceHorizontal=\"YES\" id=\"4\">\n                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"1024\" height=\"768\"/>\n                    <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                    <subviews>\n                        <view autoresizesSubviews=\"NO\" clearsContextBeforeDrawing=\"NO\" contentMode=\"scaleToFill\" id=\"5\" userLabel=\"Tree Graph View\" customClass=\"MyTreeGraphView\">\n                            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"1024\" height=\"768\"/>\n                            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n                            <connections>\n                                <outlet property=\"delegate\" destination=\"-1\" id=\"7\"/>\n                            </connections>\n                        </view>\n                    </subviews>\n                    <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                </scrollView>\n            </subviews>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n            <simulatedOrientationMetrics key=\"simulatedOrientationMetrics\" orientation=\"landscapeRight\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "Example 1/PSHTreeGraph.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t1D3623260D0F684500981E51 /* PSHTreeGraphAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D3623250D0F684500981E51 /* PSHTreeGraphAppDelegate.m */; };\n\t\t1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; };\n\t\t1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };\n\t\t1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };\n\t\t288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.framework */; };\n\t\t2899E5220DE3E06400AC0155 /* PSHTreeGraphViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2899E5210DE3E06400AC0155 /* PSHTreeGraphViewController.xib */; };\n\t\t28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* MainWindow.xib */; };\n\t\t28D7ACF80DDB3853001CB0EB /* PSHTreeGraphViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28D7ACF70DDB3853001CB0EB /* PSHTreeGraphViewController.m */; };\n\t\t4F3536F511FC851F00AABFF1 /* MyTreeGraphView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F3536F411FC851F00AABFF1 /* MyTreeGraphView.m */; };\n\t\t4F35379D11FC8EC900AABFF1 /* PSBaseBranchView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F35379611FC8EC900AABFF1 /* PSBaseBranchView.m */; };\n\t\t4F35379E11FC8EC900AABFF1 /* PSBaseLeafView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F35379811FC8EC900AABFF1 /* PSBaseLeafView.m */; };\n\t\t4F35379F11FC8EC900AABFF1 /* PSBaseSubtreeView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F35379A11FC8EC900AABFF1 /* PSBaseSubtreeView.m */; };\n\t\t4F3537A011FC8EC900AABFF1 /* PSBaseTreeGraphView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F35379C11FC8EC900AABFF1 /* PSBaseTreeGraphView.m */; };\n\t\t4F3537ED11FC9A2F00AABFF1 /* ObjCClassWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F3537EC11FC9A2F00AABFF1 /* ObjCClassWrapper.m */; };\n\t\t4F35382611FC9FD500AABFF1 /* ObjCClassTreeNodeView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4F35382511FC9FD500AABFF1 /* ObjCClassTreeNodeView.xib */; };\n\t\t4F35382E11FCA00700AABFF1 /* TreeViewSubtreeCollapsedButton.png in Resources */ = {isa = PBXBuildFile; fileRef = 4F35382A11FCA00700AABFF1 /* TreeViewSubtreeCollapsedButton.png */; };\n\t\t4F35382F11FCA00700AABFF1 /* TreeViewSubtreeExpandedButton.png in Resources */ = {isa = PBXBuildFile; fileRef = 4F35382B11FCA00700AABFF1 /* TreeViewSubtreeExpandedButton.png */; };\n\t\t4F35383011FCA00700AABFF1 /* TreeViewDirectLinesButton.png in Resources */ = {isa = PBXBuildFile; fileRef = 4F35382C11FCA00700AABFF1 /* TreeViewDirectLinesButton.png */; };\n\t\t4F35383111FCA00700AABFF1 /* TreeViewOrthogonalLinesButton.png in Resources */ = {isa = PBXBuildFile; fileRef = 4F35382D11FCA00700AABFF1 /* TreeViewOrthogonalLinesButton.png */; };\n\t\t4F353B8711FCF1A400AABFF1 /* MyLeafView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F353B8611FCF1A400AABFF1 /* MyLeafView.m */; };\n\t\t4F4AA34513FA32C700607517 /* Icon-72.png in Resources */ = {isa = PBXBuildFile; fileRef = 4F4AA34413FA32C700607517 /* Icon-72.png */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };\n\t\t1D3623240D0F684500981E51 /* PSHTreeGraphAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PSHTreeGraphAppDelegate.h; path = Controller/PSHTreeGraphAppDelegate.h; sourceTree = \"<group>\"; };\n\t\t1D3623250D0F684500981E51 /* PSHTreeGraphAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PSHTreeGraphAppDelegate.m; path = Controller/PSHTreeGraphAppDelegate.m; sourceTree = \"<group>\"; };\n\t\t1D6058910D05DD3D006BFB54 /* PSHTreeGraph.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PSHTreeGraph.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };\n\t\t288765A40DF7441C002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };\n\t\t2899E5210DE3E06400AC0155 /* PSHTreeGraphViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = PSHTreeGraphViewController.xib; path = Interface/PSHTreeGraphViewController.xib; sourceTree = \"<group>\"; };\n\t\t28AD733E0D9D9553002E5188 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = MainWindow.xib; path = Interface/MainWindow.xib; sourceTree = \"<group>\"; };\n\t\t28D7ACF60DDB3853001CB0EB /* PSHTreeGraphViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PSHTreeGraphViewController.h; path = Controller/PSHTreeGraphViewController.h; sourceTree = \"<group>\"; };\n\t\t28D7ACF70DDB3853001CB0EB /* PSHTreeGraphViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PSHTreeGraphViewController.m; path = Controller/PSHTreeGraphViewController.m; sourceTree = \"<group>\"; };\n\t\t29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = \"<group>\"; };\n\t\t32CA4F630368D1EE00C91783 /* PSHTreeGraph_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSHTreeGraph_Prefix.pch; sourceTree = \"<group>\"; };\n\t\t4F0E109E1407EB94009B9214 /* Doxyfile */ = {isa = PBXFileReference; explicitFileType = text.script; fileEncoding = 4; name = Doxyfile; path = ../Doxyfile; sourceTree = \"<group>\"; };\n\t\t4F0EE31B15D2F99B009BC883 /* PSTreeGraphDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PSTreeGraphDelegate.h; sourceTree = \"<group>\"; };\n\t\t4F2A233D180B3AEB00778BA1 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = text; name = README.md; path = ../README.md; sourceTree = \"<group>\"; wrapsLines = 1; };\n\t\t4F3536F311FC851F00AABFF1 /* MyTreeGraphView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MyTreeGraphView.h; path = Classes/View/MyTreeGraphView.h; sourceTree = SOURCE_ROOT; };\n\t\t4F3536F411FC851F00AABFF1 /* MyTreeGraphView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MyTreeGraphView.m; path = Classes/View/MyTreeGraphView.m; sourceTree = SOURCE_ROOT; };\n\t\t4F35379511FC8EC900AABFF1 /* PSBaseBranchView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PSBaseBranchView.h; path = ../PSTreeGraphView/PSBaseBranchView.h; sourceTree = \"<group>\"; };\n\t\t4F35379611FC8EC900AABFF1 /* PSBaseBranchView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PSBaseBranchView.m; path = ../PSTreeGraphView/PSBaseBranchView.m; sourceTree = \"<group>\"; };\n\t\t4F35379711FC8EC900AABFF1 /* PSBaseLeafView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PSBaseLeafView.h; path = ../PSTreeGraphView/PSBaseLeafView.h; sourceTree = \"<group>\"; };\n\t\t4F35379811FC8EC900AABFF1 /* PSBaseLeafView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PSBaseLeafView.m; path = ../PSTreeGraphView/PSBaseLeafView.m; sourceTree = \"<group>\"; };\n\t\t4F35379911FC8EC900AABFF1 /* PSBaseSubtreeView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PSBaseSubtreeView.h; path = ../PSTreeGraphView/PSBaseSubtreeView.h; sourceTree = \"<group>\"; };\n\t\t4F35379A11FC8EC900AABFF1 /* PSBaseSubtreeView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PSBaseSubtreeView.m; path = ../PSTreeGraphView/PSBaseSubtreeView.m; sourceTree = \"<group>\"; };\n\t\t4F35379B11FC8EC900AABFF1 /* PSBaseTreeGraphView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PSBaseTreeGraphView.h; path = ../PSTreeGraphView/PSBaseTreeGraphView.h; sourceTree = \"<group>\"; };\n\t\t4F35379C11FC8EC900AABFF1 /* PSBaseTreeGraphView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PSBaseTreeGraphView.m; path = ../PSTreeGraphView/PSBaseTreeGraphView.m; sourceTree = \"<group>\"; };\n\t\t4F3537B011FC90B200AABFF1 /* PSBaseTreeGraphView_Internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PSBaseTreeGraphView_Internal.h; path = ../PSTreeGraphView/PSBaseTreeGraphView_Internal.h; sourceTree = \"<group>\"; };\n\t\t4F3537EB11FC9A2F00AABFF1 /* ObjCClassWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ObjCClassWrapper.h; path = Model/ObjCClass/ObjCClassWrapper.h; sourceTree = \"<group>\"; };\n\t\t4F3537EC11FC9A2F00AABFF1 /* ObjCClassWrapper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ObjCClassWrapper.m; path = Model/ObjCClass/ObjCClassWrapper.m; sourceTree = \"<group>\"; };\n\t\t4F35382511FC9FD500AABFF1 /* ObjCClassTreeNodeView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ObjCClassTreeNodeView.xib; path = Interface/ObjCClassTreeNodeView.xib; sourceTree = \"<group>\"; };\n\t\t4F35382A11FCA00700AABFF1 /* TreeViewSubtreeCollapsedButton.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = TreeViewSubtreeCollapsedButton.png; path = Graphics/TreeViewSubtreeCollapsedButton.png; sourceTree = \"<group>\"; };\n\t\t4F35382B11FCA00700AABFF1 /* TreeViewSubtreeExpandedButton.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = TreeViewSubtreeExpandedButton.png; path = Graphics/TreeViewSubtreeExpandedButton.png; sourceTree = \"<group>\"; };\n\t\t4F35382C11FCA00700AABFF1 /* TreeViewDirectLinesButton.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = TreeViewDirectLinesButton.png; path = Graphics/TreeViewDirectLinesButton.png; sourceTree = \"<group>\"; };\n\t\t4F35382D11FCA00700AABFF1 /* TreeViewOrthogonalLinesButton.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = TreeViewOrthogonalLinesButton.png; path = Graphics/TreeViewOrthogonalLinesButton.png; sourceTree = \"<group>\"; };\n\t\t4F353B8511FCF1A400AABFF1 /* MyLeafView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MyLeafView.h; path = Classes/View/MyLeafView.h; sourceTree = SOURCE_ROOT; };\n\t\t4F353B8611FCF1A400AABFF1 /* MyLeafView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MyLeafView.m; path = Classes/View/MyLeafView.m; sourceTree = SOURCE_ROOT; };\n\t\t4F4AA34413FA32C700607517 /* Icon-72.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = \"Icon-72.png\"; path = \"Graphics/Icon-72.png\"; sourceTree = \"<group>\"; };\n\t\t4F86D04113FAADAF00A494AE /* PSTreeGraphModelNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PSTreeGraphModelNode.h; path = ../PSTreeGraphView/PSTreeGraphModelNode.h; sourceTree = \"<group>\"; };\n\t\t8D1107310486CEB800E47090 /* PSHTreeGraph-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = \"PSHTreeGraph-Info.plist\"; plistStructureDefinitionIdentifier = \"com.apple.xcode.plist.structure-definition.iphone.info-plist\"; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t1D60588F0D05DD3D006BFB54 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,\n\t\t\t\t1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,\n\t\t\t\t288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t080E96DDFE201D6D7F000001 /* Classes */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F3536A811FC7C1F00AABFF1 /* Controller */,\n\t\t\t\t4F3536AC11FC7C2A00AABFF1 /* View */,\n\t\t\t\t4F3536AB11FC7C2500AABFF1 /* Model */,\n\t\t\t);\n\t\t\tpath = Classes;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t19C28FACFE9D520D11CA2CBB /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t1D6058910D05DD3D006BFB54 /* PSHTreeGraph.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F2A233D180B3AEB00778BA1 /* README.md */,\n\t\t\t\t4F0E109E1407EB94009B9214 /* Doxyfile */,\n\t\t\t\t080E96DDFE201D6D7F000001 /* Classes */,\n\t\t\t\t29B97315FDCFA39411CA2CEA /* Target */,\n\t\t\t\t29B97317FDCFA39411CA2CEA /* Resources */,\n\t\t\t\t29B97323FDCFA39411CA2CEA /* Frameworks */,\n\t\t\t\t19C28FACFE9D520D11CA2CBB /* Products */,\n\t\t\t);\n\t\t\tname = CustomTemplate;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t29B97315FDCFA39411CA2CEA /* Target */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t32CA4F630368D1EE00C91783 /* PSHTreeGraph_Prefix.pch */,\n\t\t\t\t29B97316FDCFA39411CA2CEA /* main.m */,\n\t\t\t\t8D1107310486CEB800E47090 /* PSHTreeGraph-Info.plist */,\n\t\t\t);\n\t\t\tpath = Target;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t29B97317FDCFA39411CA2CEA /* Resources */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F86D04413FAAE9D00A494AE /* Interfaces */,\n\t\t\t\t4F35381C11FC9F8300AABFF1 /* Graphics */,\n\t\t\t);\n\t\t\tname = Resources;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t29B97323FDCFA39411CA2CEA /* Frameworks */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,\n\t\t\t\t1D30AB110D05D00D00671497 /* Foundation.framework */,\n\t\t\t\t288765A40DF7441C002DB57D /* CoreGraphics.framework */,\n\t\t\t);\n\t\t\tname = Frameworks;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F3536A811FC7C1F00AABFF1 /* Controller */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t1D3623240D0F684500981E51 /* PSHTreeGraphAppDelegate.h */,\n\t\t\t\t1D3623250D0F684500981E51 /* PSHTreeGraphAppDelegate.m */,\n\t\t\t\t28D7ACF60DDB3853001CB0EB /* PSHTreeGraphViewController.h */,\n\t\t\t\t28D7ACF70DDB3853001CB0EB /* PSHTreeGraphViewController.m */,\n\t\t\t);\n\t\t\tname = Controller;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F3536AB11FC7C2500AABFF1 /* Model */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F86D04213FAADC000A494AE /* ObjCClass */,\n\t\t\t);\n\t\t\tname = Model;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F3536AC11FC7C2A00AABFF1 /* View */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F35370D11FC86C600AABFF1 /* PSTreeGraphView */,\n\t\t\t\t4F3536F311FC851F00AABFF1 /* MyTreeGraphView.h */,\n\t\t\t\t4F3536F411FC851F00AABFF1 /* MyTreeGraphView.m */,\n\t\t\t\t4F353B8511FCF1A400AABFF1 /* MyLeafView.h */,\n\t\t\t\t4F353B8611FCF1A400AABFF1 /* MyLeafView.m */,\n\t\t\t);\n\t\t\tname = View;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F35370D11FC86C600AABFF1 /* PSTreeGraphView */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F0EE31B15D2F99B009BC883 /* PSTreeGraphDelegate.h */,\n\t\t\t\t4F86D04113FAADAF00A494AE /* PSTreeGraphModelNode.h */,\n\t\t\t\t4F3537B011FC90B200AABFF1 /* PSBaseTreeGraphView_Internal.h */,\n\t\t\t\t4F35379B11FC8EC900AABFF1 /* PSBaseTreeGraphView.h */,\n\t\t\t\t4F35379C11FC8EC900AABFF1 /* PSBaseTreeGraphView.m */,\n\t\t\t\t4F35379911FC8EC900AABFF1 /* PSBaseSubtreeView.h */,\n\t\t\t\t4F35379A11FC8EC900AABFF1 /* PSBaseSubtreeView.m */,\n\t\t\t\t4F35379511FC8EC900AABFF1 /* PSBaseBranchView.h */,\n\t\t\t\t4F35379611FC8EC900AABFF1 /* PSBaseBranchView.m */,\n\t\t\t\t4F35379711FC8EC900AABFF1 /* PSBaseLeafView.h */,\n\t\t\t\t4F35379811FC8EC900AABFF1 /* PSBaseLeafView.m */,\n\t\t\t);\n\t\t\tname = PSTreeGraphView;\n\t\t\tpath = ../PSTreeGraphView;\n\t\t\tsourceTree = SOURCE_ROOT;\n\t\t};\n\t\t4F35381C11FC9F8300AABFF1 /* Graphics */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F86D04313FAAE8B00A494AE /* Icons */,\n\t\t\t\t4F35382811FC9FF900AABFF1 /* Buttons */,\n\t\t\t);\n\t\t\tname = Graphics;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F35382811FC9FF900AABFF1 /* Buttons */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F35382A11FCA00700AABFF1 /* TreeViewSubtreeCollapsedButton.png */,\n\t\t\t\t4F35382B11FCA00700AABFF1 /* TreeViewSubtreeExpandedButton.png */,\n\t\t\t\t4F35382C11FCA00700AABFF1 /* TreeViewDirectLinesButton.png */,\n\t\t\t\t4F35382D11FCA00700AABFF1 /* TreeViewOrthogonalLinesButton.png */,\n\t\t\t);\n\t\t\tname = Buttons;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F86D04213FAADC000A494AE /* ObjCClass */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F3537EB11FC9A2F00AABFF1 /* ObjCClassWrapper.h */,\n\t\t\t\t4F3537EC11FC9A2F00AABFF1 /* ObjCClassWrapper.m */,\n\t\t\t);\n\t\t\tname = ObjCClass;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F86D04313FAAE8B00A494AE /* Icons */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F4AA34413FA32C700607517 /* Icon-72.png */,\n\t\t\t);\n\t\t\tname = Icons;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F86D04413FAAE9D00A494AE /* Interfaces */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t2899E5210DE3E06400AC0155 /* PSHTreeGraphViewController.xib */,\n\t\t\t\t4F35382511FC9FD500AABFF1 /* ObjCClassTreeNodeView.xib */,\n\t\t\t\t28AD733E0D9D9553002E5188 /* MainWindow.xib */,\n\t\t\t);\n\t\t\tname = Interfaces;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t1D6058900D05DD3D006BFB54 /* PSHTreeGraph */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget \"PSHTreeGraph\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t1D60588D0D05DD3D006BFB54 /* Resources */,\n\t\t\t\t1D60588E0D05DD3D006BFB54 /* Sources */,\n\t\t\t\t1D60588F0D05DD3D006BFB54 /* Frameworks */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = PSHTreeGraph;\n\t\t\tproductName = PSHTreeView;\n\t\t\tproductReference = 1D6058910D05DD3D006BFB54 /* PSHTreeGraph.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t29B97313FDCFA39411CA2CEA /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 0700;\n\t\t\t\tORGANIZATIONNAME = \"Preston Software\";\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t1D6058900D05DD3D006BFB54 = {\n\t\t\t\t\t\tSystemCapabilities = {\n\t\t\t\t\t\t\tcom.apple.Keychain = {\n\t\t\t\t\t\t\t\tenabled = 0;\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t};\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject \"PSHTreeGraph\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 1;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t);\n\t\t\tmainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t1D6058900D05DD3D006BFB54 /* PSHTreeGraph */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t1D60588D0D05DD3D006BFB54 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */,\n\t\t\t\t2899E5220DE3E06400AC0155 /* PSHTreeGraphViewController.xib in Resources */,\n\t\t\t\t4F35382611FC9FD500AABFF1 /* ObjCClassTreeNodeView.xib in Resources */,\n\t\t\t\t4F35382E11FCA00700AABFF1 /* TreeViewSubtreeCollapsedButton.png in Resources */,\n\t\t\t\t4F35382F11FCA00700AABFF1 /* TreeViewSubtreeExpandedButton.png in Resources */,\n\t\t\t\t4F35383011FCA00700AABFF1 /* TreeViewDirectLinesButton.png in Resources */,\n\t\t\t\t4F35383111FCA00700AABFF1 /* TreeViewOrthogonalLinesButton.png in Resources */,\n\t\t\t\t4F4AA34513FA32C700607517 /* Icon-72.png in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t1D60588E0D05DD3D006BFB54 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t1D60589B0D05DD56006BFB54 /* main.m in Sources */,\n\t\t\t\t1D3623260D0F684500981E51 /* PSHTreeGraphAppDelegate.m in Sources */,\n\t\t\t\t28D7ACF80DDB3853001CB0EB /* PSHTreeGraphViewController.m in Sources */,\n\t\t\t\t4F3536F511FC851F00AABFF1 /* MyTreeGraphView.m in Sources */,\n\t\t\t\t4F35379D11FC8EC900AABFF1 /* PSBaseBranchView.m in Sources */,\n\t\t\t\t4F35379E11FC8EC900AABFF1 /* PSBaseLeafView.m in Sources */,\n\t\t\t\t4F35379F11FC8EC900AABFF1 /* PSBaseSubtreeView.m in Sources */,\n\t\t\t\t4F3537A011FC8EC900AABFF1 /* PSBaseTreeGraphView.m in Sources */,\n\t\t\t\t4F3537ED11FC9A2F00AABFF1 /* ObjCClassWrapper.m in Sources */,\n\t\t\t\t4F353B8711FCF1A400AABFF1 /* MyLeafView.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin XCBuildConfiguration section */\n\t\t1D6058940D05DD3E006BFB54 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"$(SRCROOT)/Target/PSHTreeGraph_Prefix.pch\";\n\t\t\t\tINFOPLIST_FILE = \"$(SRCROOT)/Target/PSHTreeGraph-Info.plist\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.prestonsoft.${PRODUCT_NAME:rfc1034identifier}\";\n\t\t\t\tPRODUCT_NAME = PSHTreeGraph;\n\t\t\t\tPROVISIONING_PROFILE = \"\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = 2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t1D6058950D05DD3E006BFB54 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = YES;\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"$(SRCROOT)/Target/PSHTreeGraph_Prefix.pch\";\n\t\t\t\tINFOPLIST_FILE = \"$(SRCROOT)/Target/PSHTreeGraph-Info.plist\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.prestonsoft.${PRODUCT_NAME:rfc1034identifier}\";\n\t\t\t\tPRODUCT_NAME = PSHTreeGraph;\n\t\t\t\tPROVISIONING_PROFILE = \"\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = 2;\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tC01FCF4F08A954540054247B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = c99;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_PARAMETER = NO;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = 2;\n\t\t\t\tUSER_HEADER_SEARCH_PATHS = ../PSTreeGraphView/;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tC01FCF5008A954540054247B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = c99;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_PARAMETER = NO;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_CFLAGS = \"-DNS_BLOCK_ASSERTIONS=1\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = 2;\n\t\t\t\tUSER_HEADER_SEARCH_PATHS = ../PSTreeGraphView/;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget \"PSHTreeGraph\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t1D6058940D05DD3E006BFB54 /* Debug */,\n\t\t\t\t1D6058950D05DD3E006BFB54 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tC01FCF4E08A954540054247B /* Build configuration list for PBXProject \"PSHTreeGraph\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tC01FCF4F08A954540054247B /* Debug */,\n\t\t\t\tC01FCF5008A954540054247B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 29B97313FDCFA39411CA2CEA /* Project object */;\n}\n"
  },
  {
    "path": "Example 1/PSHTreeGraph.xcodeproj/xcshareddata/xcschemes/PSHTreeGraph.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0700\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"1D6058900D05DD3D006BFB54\"\n               BuildableName = \"PSHTreeGraph.app\"\n               BlueprintName = \"PSHTreeGraph\"\n               ReferencedContainer = \"container:PSHTreeGraph.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"1D6058900D05DD3D006BFB54\"\n            BuildableName = \"PSHTreeGraph.app\"\n            BlueprintName = \"PSHTreeGraph\"\n            ReferencedContainer = \"container:PSHTreeGraph.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"1D6058900D05DD3D006BFB54\"\n            BuildableName = \"PSHTreeGraph.app\"\n            BlueprintName = \"PSHTreeGraph\"\n            ReferencedContainer = \"container:PSHTreeGraph.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"1D6058900D05DD3D006BFB54\"\n            BuildableName = \"PSHTreeGraph.app\"\n            BlueprintName = \"PSHTreeGraph\"\n            ReferencedContainer = \"container:PSHTreeGraph.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example 1/Target/PSHTreeGraph-Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>English</string>\n\t<key>CFBundleDisplayName</key>\n\t<string>${PRODUCT_NAME}</string>\n\t<key>CFBundleDocumentTypes</key>\n\t<array/>\n\t<key>CFBundleExecutable</key>\n\t<string>${EXECUTABLE_NAME}</string>\n\t<key>CFBundleIconFile</key>\n\t<string>graphics/Icon-72.png</string>\n\t<key>CFBundleIconFiles</key>\n\t<array>\n\t\t<string>Icon-72.png</string>\n\t</array>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>${PRODUCT_NAME}</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleURLTypes</key>\n\t<array/>\n\t<key>CFBundleVersion</key>\n\t<string>1.0</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>NSMainNibFile</key>\n\t<string>MainWindow</string>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UTExportedTypeDeclarations</key>\n\t<array/>\n\t<key>UTImportedTypeDeclarations</key>\n\t<array/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example 1/Target/PSHTreeGraph_Prefix.pch",
    "content": "//\n// Prefix header for all source files of the projects which reference it.\n//\n\n#import <Availability.h>\n\n#ifndef __IPHONE_6_0\n#warning \"This project uses features only available in iOS SDK 6.0 and later.\"\n#endif\n\n#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#import <Foundation/Foundation.h>\n#endif\n"
  },
  {
    "path": "Example 1/Target/main.m",
    "content": "//\n//  main.m\n//  PSHTreeGraph\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright Preston Software 2010. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#import \"PSHTreeGraphAppDelegate.h\"\n\nint main(int argc, char *argv[]) \n{\n    @autoreleasepool {\n        return UIApplicationMain(argc, argv, nil, NSStringFromClass([PSHTreeGraphAppDelegate class]));\n    }\n}\n"
  },
  {
    "path": "PSTreeGraphView/PSBaseBranchView.h",
    "content": "//\n//  PSBaseBranchView.h\n//  PSTreeGraphView\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright 2010 Preston Software. All rights reserved.\n//\n//\n//  This is a port of the sample code from Max OS X to iOS (iPad).\n//\n//  WWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n//\n\n\n#import <UIKit/UIKit.h>\n\n@class PSBaseTreeGraphView;\n\n/// Each SubtreeView has a BranchView subview that draws the connecting lines\n/// between its root node and its child subtrees.\n\n@interface PSBaseBranchView : UIView\n\n/// @return Link to the enclosing TreeGraph.\n///\n/// @note The getter for this is a convenience method that ascends the view tree\n/// until it encounters a TreeGraph.\n\n@property (weak, nonatomic, readonly) PSBaseTreeGraphView *enclosingTreeGraph;\n\n@end\n"
  },
  {
    "path": "PSTreeGraphView/PSBaseBranchView.m",
    "content": "//\n//  PSBaseBranchView.m\n//  PSTreeGraphView\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright 2010 Preston Software. All rights reserved.\n//\n//\n//  This is a port of the sample code from Max OS X to iOS (iPad).\n//\n//  WWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n//\n\n\n#import \"PSBaseBranchView.h\"\n#import \"PSBaseSubtreeView.h\"\n#import \"PSBaseTreeGraphView.h\"\n\n\n@implementation PSBaseBranchView\n\n\n- (PSBaseTreeGraphView *) enclosingTreeGraph\n{\n    UIView *ancestor = self.superview;\n    while (ancestor) {\n        if ([ancestor isKindOfClass:[PSBaseTreeGraphView class]]) {\n            return (PSBaseTreeGraphView *)ancestor;\n        }\n        ancestor = ancestor.superview;\n    }\n    return nil;\n}\n\n\n#pragma mark - Drawing (internal)\n\n- (UIBezierPath *) directConnectionsPath\n{\n    CGRect bounds = self.bounds;\n\tCGPoint rootPoint = CGPointZero;\n\n\tPSTreeGraphOrientationStyle treeDirection = self.enclosingTreeGraph.treeGraphOrientation;\n\n\tif (( treeDirection == PSTreeGraphOrientationStyleHorizontal ) ||\n        ( treeDirection == PSTreeGraphOrientationStyleHorizontalFlipped )){\n\t\trootPoint = CGPointMake(CGRectGetMinX(bounds),\n                                CGRectGetMidY(bounds));\n\t} else {\n\t\trootPoint = CGPointMake(CGRectGetMidX(bounds),\n                                CGRectGetMinY(bounds));\n\t}\n\n    // Create a single bezier path that we'll use to stroke all the lines.\n    UIBezierPath *path = [UIBezierPath bezierPath];\n\n    // Add a stroke from rootPoint to each child SubtreeView of our containing SubtreeView.\n    UIView *subtreeView = self.superview;\n    if ([subtreeView isKindOfClass:[PSBaseSubtreeView class]]) {\n\n        for (UIView *subview in subtreeView.subviews) {\n            if ([subview isKindOfClass:[PSBaseSubtreeView class]]) {\n                CGRect subviewBounds = subview.bounds;\n\t\t\t\tCGPoint targetPoint = CGPointZero;\n\n                if (( treeDirection == PSTreeGraphOrientationStyleHorizontal ) ||\n                    ( treeDirection == PSTreeGraphOrientationStyleHorizontalFlipped )){\n\t\t\t\t\ttargetPoint = [self convertPoint:CGPointMake(CGRectGetMinX(subviewBounds), CGRectGetMidY(subviewBounds))\n                                            fromView:subview];\n\t\t\t\t} else {\n\t\t\t\t\ttargetPoint = [self convertPoint:CGPointMake(CGRectGetMidX(subviewBounds), CGRectGetMinY(subviewBounds))\n                                            fromView:subview];\n\t\t\t\t}\n\n                [path moveToPoint:rootPoint];\n                [path addLineToPoint:targetPoint];\n            }\n        }\n    }\n\n    // Return the path.\n    return path;\n}\n\n- (UIBezierPath *) orthogonalConnectionsPath\n{\n    // Compute the needed adjustment in x and y to align our lines for crisp, exact pixel coverage.\n\t// (We can only do this if the lineWidth is integral, which it usually is.)\n\t//    CGFloat adjustment = 0.0;\n\t//    CGFloat lineWidth = [[self enclosingTreeGraph] connectingLineWidth];\n\t//    CGSize lineSize = CGSizeMake(lineWidth, lineWidth);\n\t//    CGSize lineSizeInPixels = [self convertSizeToBase:lineSize];\n\t//\n\t//    CGFloat halfLineWidthInPixels = 0.5 * lineSizeInPixels.width;\n\t//    if (fabs(halfLineWidthInPixels - floor(halfLineWidthInPixels)) > 0.0001) {\n\t//        // If line width in pixels is odd, lay our path segments along the centers of pixel rows.\n\t//        CGSize adjustmentAsSizeInPixels = CGSizeMake(0.5, 0.5);\n\t//        CGSize adjustmentAsSize = [self convertSizeFromBase:adjustmentAsSizeInPixels];\n\t//\n\t//        adjustment = adjustmentAsSize.width;\n\t//    }\n\n    CGRect bounds = self.bounds;\n\t//    CGPoint basePoint;\n\n\tPSTreeGraphOrientationStyle treeDirection = self.enclosingTreeGraph.treeGraphOrientation;\n\n\tCGPoint rootPoint = CGPointZero;\n\tif ( treeDirection == PSTreeGraphOrientationStyleHorizontal ) {\n\t\t// Compute point at right edge of root node, from which its connecting line to the vertical line will emerge.\n\t\trootPoint = CGPointMake(CGRectGetMinX(bounds),\n                                CGRectGetMidY(bounds));\n\t} else if ( treeDirection == PSTreeGraphOrientationStyleHorizontalFlipped ){\n\t\t// Compute point at left edge of root node, from which its connecting line to the vertical line will emerge.\n\t\trootPoint = CGPointMake(CGRectGetMaxX(bounds),\n                                CGRectGetMidY(bounds));\n\t} else if ( treeDirection == PSTreeGraphOrientationStyleVerticalFlipped ){\n\t\t// Compute point at top edge of root node, from which its connecting line to the vertical line will emerge.\n\t\trootPoint = CGPointMake(CGRectGetMidX(bounds),\n                                CGRectGetMaxY(bounds));\n\t} else {\n\t\trootPoint = CGPointMake(CGRectGetMidX(bounds),\n                                CGRectGetMinY(bounds));\n\t}\n\n\n    // Align the line to get exact pixel coverage, for sharper rendering.\n\t//    basePoint = [self convertPointToBase:rootPoint];\n\t//    basePoint.x = round(basePoint.x) + adjustment;\n\t//    basePoint.y = round(basePoint.y) + adjustment;\n\t//    rootPoint = [self convertPointFromBase:basePoint];\n\n\n\t// Compute point (really, we're just interested in the x value) at which line\n    // from root node intersects the vertical connecting line.\n\n\tCGPoint rootIntersection = CGPointMake(CGRectGetMidX(bounds), CGRectGetMidY(bounds));\n\n\n    // Align the line to get exact pixel coverage, for sharper rendering.\n\t//    basePoint = [self convertPointToBase:rootIntersection];\n\t//    basePoint.x = round(basePoint.x) + adjustment;\n\t//    basePoint.y = round(basePoint.y) + adjustment;\n\t//    rootIntersection = [self convertPointFromBase:basePoint];\n\n    // Create a single bezier path that we'll use to stroke all the lines.\n    UIBezierPath *path = [UIBezierPath bezierPath];\n\n    // Add a stroke from each child SubtreeView to where we'll put the vertical connecting line.\n    // And while we're iterating over SubtreeViews, make a note of the minimum and maximum Y we'll\n    // want for the endpoints of the vertical connecting line.\n\n    CGFloat minY = rootPoint.y;\n    CGFloat maxY = rootPoint.y;\n\tCGFloat minX = rootPoint.x;\n    CGFloat maxX = rootPoint.x;\n\n    UIView *subtreeView = self.superview;\n    NSInteger subtreeViewCount = 0;\n\n    if ([subtreeView isKindOfClass:[PSBaseSubtreeView class]]) {\n\n        for (UIView *subview in subtreeView.subviews) {\n            if ([subview isKindOfClass:[PSBaseSubtreeView class]]) {\n                ++subtreeViewCount;\n\n                CGRect subviewBounds = subview.bounds;\n\t\t\t\tCGPoint targetPoint = CGPointZero;\n\n                if (( treeDirection == PSTreeGraphOrientationStyleHorizontal ) ||\n                    ( treeDirection == PSTreeGraphOrientationStyleHorizontalFlipped )){\n\t\t\t\t\ttargetPoint = [self convertPoint:CGPointMake(CGRectGetMinX(subviewBounds), CGRectGetMidY(subviewBounds))\n                                            fromView:subview];\n\t\t\t\t} else {\n\t\t\t\t\ttargetPoint = [self convertPoint:CGPointMake(CGRectGetMidX(subviewBounds), CGRectGetMinY(subviewBounds))\n                                            fromView:subview];\n\t\t\t\t}\n\n                // Align the line to get exact pixel coverage, for sharper rendering.\n\t\t\t\t//                basePoint = [self convertPointToBase:targetPoint];\n\t\t\t\t//                basePoint.x = round(basePoint.x) + adjustment;\n\t\t\t\t//                basePoint.y = round(basePoint.y) + adjustment;\n\t\t\t\t//                targetPoint = [self convertPointFromBase:basePoint];\n\n                // TODO: Make clean line joins (test at high values of line thickness to see the problem).\n\n                if (( treeDirection == PSTreeGraphOrientationStyleHorizontal ) ||\n                    ( treeDirection == PSTreeGraphOrientationStyleHorizontalFlipped )){\n\t\t\t\t\t[path moveToPoint:CGPointMake(rootIntersection.x, targetPoint.y)];\n\n\t\t\t\t\tif (minY > targetPoint.y) {\n\t\t\t\t\t\tminY = targetPoint.y;\n\t\t\t\t\t}\n\t\t\t\t\tif (maxY < targetPoint.y) {\n\t\t\t\t\t\tmaxY = targetPoint.y;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t[path moveToPoint:CGPointMake(targetPoint.x, rootIntersection.y)];\n\n\t\t\t\t\tif (minX > targetPoint.x) {\n\t\t\t\t\t\tminX = targetPoint.x;\n\t\t\t\t\t}\n\t\t\t\t\tif (maxX < targetPoint.x) {\n\t\t\t\t\t\tmaxX = targetPoint.x;\n\t\t\t\t\t}\n\t\t\t\t}\n\n                [path addLineToPoint:targetPoint];\n\n            }\n        }\n    }\n\n    if (subtreeViewCount) {\n        // Add a stroke from rootPoint to where we'll put the vertical connecting line.\n        [path moveToPoint:rootPoint];\n        [path addLineToPoint:rootIntersection];\n\n        if (( treeDirection == PSTreeGraphOrientationStyleHorizontal ) ||\n            ( treeDirection == PSTreeGraphOrientationStyleHorizontalFlipped )){\n\t\t\t// Add a stroke for the vertical connecting line.\n\t\t\t[path moveToPoint:CGPointMake(rootIntersection.x, minY)];\n\t\t\t[path addLineToPoint:CGPointMake(rootIntersection.x, maxY)];\n\t\t} else {\n\t\t\t// Add a stroke for the vertical connecting line.\n\t\t\t[path moveToPoint:CGPointMake(minX, rootIntersection.y)];\n\t\t\t[path addLineToPoint:CGPointMake(maxX, rootIntersection.y)];\n\t\t}\n\n    }\n\n    // Return the path.\n    return path;\n}\n\n\n#pragma mark - UIView\n\n- (void) drawRect:(CGRect)dirtyRect\n{\n    // Build the set of lines to stroke, according to our enclosingTreeGraph's connectingLineStyle.\n    UIBezierPath *path = nil;\n\n    switch (self.enclosingTreeGraph.connectingLineStyle) {\n        case PSTreeGraphConnectingLineStyleDirect:\n        default:\n            path = [self directConnectionsPath];\n            break;\n\n        case PSTreeGraphConnectingLineStyleOrthogonal:\n            path = [self orthogonalConnectionsPath];\n            break;\n    }\n\n    // Stroke the path with the appropriate color and line width.\n    PSBaseTreeGraphView *treeGraph = self.enclosingTreeGraph;\n\n\tif ( self.opaque ) {\n\t\t// Fill background.\n\t\t[treeGraph.backgroundColor set];\n\t\tUIRectFill(dirtyRect);\n\t}\n\n\t// Draw lines\n\t[treeGraph.connectingLineColor set];\n\tpath.lineWidth = treeGraph.connectingLineWidth;\n\t[path stroke];\n}\n\n\n@end\n"
  },
  {
    "path": "PSTreeGraphView/PSBaseLeafView.h",
    "content": "//\n//  PSBaseLeafView.h\n//  PSTreeGraphView\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright 2010 Preston Software. All rights reserved.\n//\n//\n//  This is a port of the sample code from Max OS X to iOS (iPad).\n//\n//  WWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n//\n\n#import <UIKit/UIKit.h>\n\n\n/// Draws background fill and a stroked, optionally rounded rectangular shape.  This is meant\n/// to be a subclass for project specific node views loaded from a nib file.\n\n@interface PSBaseLeafView : UIView\n\n\n#pragma mark - Styling\n\n/// The color of the ContainerView's stroked border.\n@property (nonatomic, strong) UIColor *borderColor;\n\n/// The width of the ContainerView's stroked border.  May be zero.\n@property (nonatomic, assign) CGFloat borderWidth;\n\n/// The radius of the ContainerView's rounded corners.  May be zero.\n@property (nonatomic, assign) CGFloat cornerRadius;\n\n/// The fill color for the ContainerView's interior.\n@property (nonatomic, strong) UIColor *fillColor;\n\n/// The fill color for the ContainerView's interior when selected.\n@property (nonatomic, strong) UIColor *selectionColor;\n\n\n#pragma mark - Selection State\n\n@property (nonatomic, assign, getter=isShowingSelected) BOOL showingSelected;\n\n@end\n"
  },
  {
    "path": "PSTreeGraphView/PSBaseLeafView.m",
    "content": "//\n//  PSBaseLeafView.m\n//  PSTreeGraphView\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright 2015 Preston Software. All rights reserved.\n//\n//\n//  This is a port of the sample code from Max OS X to iOS (iPad).\n//\n//  WWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n//\n\n#import \"PSBaseLeafView.h\"\n\n// for CALayer definition\n#import <QuartzCore/QuartzCore.h>\n\n\n@implementation PSBaseLeafView\n\n\n#pragma mark - Styling\n\n\n- (void) setBorderColor:(UIColor *)color\n{\n    if (_borderColor != color) {\n        _borderColor = color;\n        [self updateLayerAppearanceToMatchContainerView];\n    }\n}\n\n- (void) setBorderWidth:(CGFloat)width\n{\n    if (_borderWidth != width) {\n        _borderWidth = width;\n        [self updateLayerAppearanceToMatchContainerView];\n    }\n}\n\n- (void) setCornerRadius:(CGFloat)radius\n{\n    if (_cornerRadius != radius) {\n        _cornerRadius = radius;\n        [self updateLayerAppearanceToMatchContainerView];\n    }\n}\n\n- (void) setFillColor:(UIColor *)color\n{\n    if (_fillColor != color) {\n        _fillColor = color;\n        [self updateLayerAppearanceToMatchContainerView];\n    }\n}\n\n- (void) setSelectionColor:(UIColor *)color\n{\n    if (_selectionColor != color) {\n        _selectionColor = color;\n        [self updateLayerAppearanceToMatchContainerView];\n    }\n}\n\n\n#pragma mark - Selection State\n\n- (void) setShowingSelected:(BOOL)newShowingSelected\n{\n    if (_showingSelected != newShowingSelected) {\n        _showingSelected = newShowingSelected;\n        [self updateLayerAppearanceToMatchContainerView];\n    }\n}\n\n\n#pragma mark - Update Layer (internal)\n\n- (void) updateLayerAppearanceToMatchContainerView\n{\n    // // Disable implicit animations during these layer property changes, to make them take effect immediately.\n\n    // BOOL actionsWereDisabled = [CATransaction disableActions];\n    // [CATransaction setDisableActions:YES];\n\n    // Apply the ContainerView's appearance properties to its backing layer.\n    // Important: While UIView metrics are conventionally expressed in points, CALayer metrics are\n    // expressed in pixels.  To produce the correct borderWidth and cornerRadius to apply to the\n    // layer, we must multiply by the window's userSpaceScaleFactor (which is normally 1.0, but may\n    // be larger on a higher-resolution display) to yield pixel units.\n\n    // CGFloat scaleFactor = [[self window] userSpaceScaleFactor];\n    CGFloat scaleFactor = 1.0f;\n    \n    CALayer *layer = self.layer;\n\n    layer.borderWidth = (_borderWidth * scaleFactor);\n    if (_borderWidth > 0.0f) {\n        layer.borderColor = _borderColor.CGColor;\n    }\n\n    layer.cornerRadius = (_cornerRadius * scaleFactor);\n\n    if ( _showingSelected ) {\n        layer.backgroundColor = self.selectionColor.CGColor ;\n    } else {\n        layer.backgroundColor = self.fillColor.CGColor ;\n    }\n\n    // // Disable implicit animations during these layer property changes\n    // [CATransaction setDisableActions:actionsWereDisabled];\n}\n\n\n#pragma mark - Initialization (internal)\n\n- (void) configureDetaults\n{\n\t// Initialize ivars directly.  As a rule, it's best to avoid invoking accessors from an -init...\n\t// method, since they may wrongly expect the instance to be fully formed.\n\n\t_borderColor = [UIColor colorWithRed:1.0 green:0.8 blue:0.4 alpha:1.0];\n\t_borderWidth = 3.0;\n\t_cornerRadius = 8.0;\n\t_fillColor = [UIColor colorWithRed:1.0 green:0.5 blue:0.0 alpha:1.0];\n    _selectionColor = [UIColor colorWithRed:1.0 green:1.0 blue:0.0 alpha:1.0];\n    _showingSelected = NO;\n}\n\n\n#pragma mark - UIView\n\n- (instancetype) initWithFrame:(CGRect)newFrame\n{\n    self = [super initWithFrame:newFrame];\n    if (self) {\n\t\t[self configureDetaults];\n        [self updateLayerAppearanceToMatchContainerView];\n    }\n    return self;\n}\n\n\n#pragma mark - NSCoding\n\n- (void) encodeWithCoder:(NSCoder *)encoder\n{\n    [super encodeWithCoder:encoder];\n    [encoder encodeObject:_borderColor forKey:@\"borderColor\"];\n    [encoder encodeFloat:_borderWidth forKey:@\"borderWidth\"];\n    [encoder encodeFloat:_cornerRadius forKey:@\"cornerRadius\"];\n    [encoder encodeObject:_fillColor forKey:@\"fillColor\"];\n    [encoder encodeObject:_selectionColor forKey:@\"selectionColor\"];\n    [encoder encodeBool:_showingSelected forKey:@\"showingSelected\"];\n}\n\n- (instancetype) initWithCoder:(NSCoder *)decoder\n{\n    self = [super initWithCoder:decoder];\n    if (self) {\n\n        [self configureDetaults];\n\n        if ([decoder containsValueForKey:@\"borderColor\"])\n            _borderColor = [decoder decodeObjectForKey:@\"borderColor\"];\n        if ([decoder containsValueForKey:@\"borderWidth\"])\n            _borderWidth = [decoder decodeFloatForKey:@\"borderWidth\"];\n        if ([decoder containsValueForKey:@\"cornerRadius\"])\n            _cornerRadius = [decoder decodeFloatForKey:@\"cornerRadius\"];\n        if ([decoder containsValueForKey:@\"fillColor\"])\n            _fillColor = [decoder decodeObjectForKey:@\"fillColor\"];\n        if ([decoder containsValueForKey:@\"selectionColor\"])\n            _selectionColor = [decoder decodeObjectForKey:@\"selectionColor\"];\n        if ([decoder containsValueForKey:@\"showingSelected\"])\n            _showingSelected = [decoder decodeBoolForKey:@\"showingSelected\"];\n\n        [self updateLayerAppearanceToMatchContainerView];\n    }\n    return self;\n}\n\n\n@end\n"
  },
  {
    "path": "PSTreeGraphView/PSBaseSubtreeView.h",
    "content": "//\n//  PSBaseSubtreeView.h\n//  PSTreeGraphView\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright 2015 Preston Software. All rights reserved.\n//\n//\n//  This is a port of the sample code from Max OS X to iOS (iPad).\n//\n//  WWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n//\n\n\n#import <UIKit/UIKit.h>\n\n#import \"PSTreeGraphModelNode.h\"\n\n\n@class PSBaseTreeGraphView;\n\n\n/// A SubtreeView draws nothing itself (unless showsSubtreeFrames is set to YES for\n/// the enclosingTreeGraph), but provides a local coordinate frame and grouping mechanism\n/// for a graph subtree, and implements subtree layout.\n\n\n@interface PSBaseSubtreeView : UIView\n\n/// Initializes a SubtreeView with the associated modelNode.  This is SubtreeView's designated initializer.\n\n- (instancetype) initWithModelNode:( id <PSTreeGraphModelNode> )newModelNode NS_DESIGNATED_INITIALIZER;\n\n// Don't initialise with these:\n- (instancetype) initWithFrame:(CGRect)frame NS_UNAVAILABLE;\n- (instancetype) initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE;\n\n\n/// The root of the model subtree that this SubtreeView represents.\n\n@property (nonatomic, strong) id <PSTreeGraphModelNode> modelNode;\n\n/// The view that represents the modelNode.  Is a subview of SubtreeView, and may itself have descendant views.\n\n@property (nonatomic, weak) IBOutlet UIView *nodeView;\n\n/// Link to the enclosing TreeGraph.  (The getter for this is a convenience method that ascends\n/// the view tree until it encounters a TreeGraph.)\n\n@property (weak, nonatomic, readonly) PSBaseTreeGraphView *enclosingTreeGraph;\n\n// Whether the model node represented by this SubtreeView is a leaf node (one without child nodes).  This\n// can be a useful property to bind user interface state to.  In the TreeGraph demo app, for example,\n// we've bound the \"isHidden\" property of subtree expand/collapse buttons to this, so that expand/collapse\n// buttons will only be shown for non-leaf nodes.\n\n@property (nonatomic, readonly, getter=isLeaf) BOOL leaf;\n\n\n#pragma mark - Selection State\n\n/// Whether the node is part of the TreeGraph's current selection.  This can be a useful property to bind user\n/// interface state to.\n\n@property (nonatomic, readonly) BOOL nodeIsSelected;\n\n\n#pragma mark - Layout\n\n/// Returns YES if this subtree needs relayout.\n\n@property (nonatomic, assign) BOOL needsGraphLayout;\n\n/// Recursively marks this subtree, and all of its descendants, as needing relayout.\n\n- (void) recursiveSetNeedsGraphLayout;\n\n/// Recursively performs graph layout, if this subtree is marked as needing it.\n\n- (CGSize) layoutGraphIfNeeded;\n\n// Flip the treeGraph end for end (or top for bottom)\n- (void) flipTreeGraph;\n\n/// Resizes this subtree's nodeView to the minimum size required to hold its content, and returns the nodeView's\n/// new size.  (This currently does nothing, and is just stubbed out for future use.)\n\n- (CGSize) sizeNodeViewToFitContent;\n\n/// Whether this subtree is currently shown as expanded.  If NO, the node's children have been collapsed into it.\n\n@property (nonatomic, assign, getter=isExpanded) BOOL expanded;\n\n/// Toggles expansion of this subtree.  This can be wired up as the action of a button or other user interface\n/// control.\n\n- (IBAction) toggleExpansion:(id)sender;\n\n\n#pragma mark - Invalidation\n\n/// Marks all BranchView instances in this subtree as needing display.\n\n- (void) recursiveSetConnectorsViewsNeedDisplay;\n\n/// Marks all SubtreeView debug borders as needing display.\n\n- (void) resursiveSetSubtreeBordersNeedDisplay;\n\n\n#pragma mark - Node Hit-Testing\n\n/// Returns the visible model node whose nodeView contains the given point \"p\", where \"p\" is specified in the\n/// SubtreeView's interior (bounds) coordinate space.  Returns nil if there is no node under the specified point.\n/// When a subtree is collapsed, only its root nodeView is eligible for hit-testing.\n\n- ( id <PSTreeGraphModelNode> ) modelNodeAtPoint:(CGPoint)p;\n\n/// Returns the visible model node that is closest to the specified y coordinate, where \"y\" is specified in the\n/// SubtreeView's interior (bounds) coordinate space.\n\n- ( id <PSTreeGraphModelNode> ) modelNodeClosestToY:(CGFloat)y;\n\n/// Returns the visible model node that is closest to the specified x coordinate, where \"x\" is specified in the\n/// SubtreeView's interior (bounds) coordinate space.\n\n- ( id <PSTreeGraphModelNode> ) modelNodeClosestToX:(CGFloat)x;\n\n\n#pragma mark - Debugging\n\n/// Returns an indented multi-line NSString summary of the displayed tree.  Provided as a debugging aid.\n\n- (NSString *) treeSummaryWithDepth:(NSInteger)depth;\n\n@end\n"
  },
  {
    "path": "PSTreeGraphView/PSBaseSubtreeView.m",
    "content": "//\n//  PSBaseSubtreeView.m\n//  PSTreeGraphView\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright 2015 Preston Software. All rights reserved.\n//\n//\n//  This is a port of the sample code from Max OS X to iOS (iPad).\n//\n//  WWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n//\n\n\n#import \"PSBaseSubtreeView.h\"\n#import \"PSBaseBranchView.h\"\n#import \"PSBaseTreeGraphView.h\"\n\n\n// for CALayer definition\n#import <QuartzCore/QuartzCore.h>\n\n\n#define CENTER_COLLAPSED_SUBTREE_ROOT   1\n\nstatic UIColor *subtreeBorderColor(void)\n{\n    return [UIColor colorWithRed:0.0f green:0.5f blue:0.0f alpha:1.0f];\n}\n\nstatic CGFloat subtreeBorderWidth(void)\n{\n    return 2.0f;\n}\n\n\n#pragma mark - Internal Interface\n\n@interface PSBaseSubtreeView ()\n{\n    \n@private\n    \n    // the view that shows connections from nodeView to its child nodes\n    PSBaseBranchView *_connectorsView;\n}\n\n\n@end\n\n\n@implementation PSBaseSubtreeView\n\n\n#pragma mark - Attributes\n\n- (void) setExpanded:(BOOL)flag\n{\n    if (_expanded != flag) {\n\n        // Remember this SubtreeView's new state.\n        _expanded = flag;\n\n        // Notify the TreeGraph we need layout.\n        [self.enclosingTreeGraph setNeedsGraphLayout];\n\n        // Expand or collapse subtrees recursively.\n        for (UIView *subview in self.subviews) {\n            if ([subview isKindOfClass:[PSBaseSubtreeView class]]) {\n                ((PSBaseSubtreeView *)subview).expanded = _expanded;\n            }\n        }\n    }\n}\n\n- (IBAction) toggleExpansion:(id)sender\n{\n\t[UIView beginAnimations:@\"TreeNodeExpansion\" context:nil];\n//    [UIView setAnimationDuration:8.0];\n\t[UIView setAnimationBeginsFromCurrentState:YES];\n    [UIView setAnimationCurve:UIViewAnimationCurveEaseOut];\n\n    self.expanded = !self.expanded;\n\n    [self.enclosingTreeGraph layoutGraphIfNeeded];\n\n    if ( self.modelNode != nil ) {\n        NSSet *visibleSet = [NSSet setWithObject:self.modelNode];\n        [self.enclosingTreeGraph scrollModelNodesToVisible:visibleSet animated:NO];\n    }\n\n    [UIView commitAnimations];\n}\n\n- (BOOL) isLeaf\n{\n    return [self.modelNode childModelNodes].count == 0;\n}\n\n\n#pragma mark - Instance Initialization\n\n// Use initWithModelNode below.\n- (instancetype) initWithFrame:(CGRect)frame { @throw nil; }\n- (instancetype) initWithCoder:(NSCoder *)aDecoder { @throw nil; }\n\n\n- (instancetype) initWithModelNode:( id <PSTreeGraphModelNode> )newModelNode\n{\n    NSParameterAssert(newModelNode);\n\n    self = [super initWithFrame:CGRectMake(10.0, 10.0, 100.0, 25.0)];\n    if (self) {\n\n        // Initialize ivars directly.  As a rule, it's best to avoid invoking accessors from an -init...\n\t\t// method, since they may wrongly expect the instance to be fully formed.\n\n        _expanded = YES;\n        _needsGraphLayout = YES;\n\n        // autoresizesSubviews defaults to YES.  We don't want autoresizing, which would interfere\n\t\t// with the explicit layout we do, so we switch it off for SubtreeView instances.\n        [self setAutoresizesSubviews:NO];\n\n        self.modelNode = newModelNode;\n        _connectorsView = [[PSBaseBranchView alloc] initWithFrame:CGRectZero];\n        if (_connectorsView) {\n            [_connectorsView setAutoresizesSubviews:YES];\n            // if we dont redraw lines, they get out of place\n\t\t\t_connectorsView.contentMode = UIViewContentModeRedraw;\n\t\t\t[_connectorsView setOpaque:YES];\n\n\t\t\t[self addSubview:_connectorsView];\n        }\n    }\n    return self;\n}\n\n\n- (PSBaseTreeGraphView *) enclosingTreeGraph\n{\n    UIView *ancestor = self.superview;\n    while (ancestor) {\n        if ([ancestor isKindOfClass:[PSBaseTreeGraphView class]]) {\n            return (PSBaseTreeGraphView *)ancestor;\n        }\n        ancestor = ancestor.superview;\n    }\n    return nil;\n}\n\n\n#pragma mark - Layout\n\n- (void) recursiveSetNeedsGraphLayout\n{\n    [self setNeedsGraphLayout:YES];\n    for (UIView *subview in self.subviews) {\n        if ([subview isKindOfClass:[PSBaseSubtreeView class]]) {\n            [(PSBaseSubtreeView *)subview recursiveSetNeedsGraphLayout];\n        }\n    }\n}\n\n- (CGSize) sizeNodeViewToFitContent\n{\n    // TODO: Node size is hardwired for now, but the layout algorithm could accommodate\n    // variable-sized nodes if we implement size-to-fit for nodes.\n\n    return (self.nodeView).frame.size;\n}\n\n- (void) flipTreeGraph\n{\n    // Recurse for descendant SubtreeViews.\n    CGFloat             myWidth             = self.frame.size.width;\n    CGFloat             myHeight            = self.frame.size.height;\n    PSBaseTreeGraphView *treeGraph          = self.enclosingTreeGraph;\n\tPSTreeGraphOrientationStyle treeOrientation = treeGraph.treeGraphOrientation;\n\n    NSArray *subviews = self.subviews;\n    for (UIView *subview in subviews) {\n        CGPoint             subviewCenter       = subview.center;\n        CGPoint             newCenter;\n        CGFloat             offset;\n        if (treeOrientation == PSTreeGraphOrientationStyleHorizontalFlipped ){\n            offset      = subviewCenter.x;\n            newCenter   = CGPointMake(myWidth-offset, subviewCenter.y);\n        }\n        else{\n            offset      = subviewCenter.y;\n            newCenter   = CGPointMake(subviewCenter.x, myHeight-offset);\n        }\n        subview.center                          = newCenter;\n        if ([subview isKindOfClass:[PSBaseSubtreeView class]]) {\n            [(PSBaseSubtreeView *)subview flipTreeGraph];\n        }\n    }\n}\n\n- (CGSize) layoutGraphIfNeeded\n{\n    // Return early if layout not needed\n    if ( !self.needsGraphLayout )\n        return self.frame.size;\n\n    // Do the layout\n    CGSize selfTargetSize;\n    if ( self.expanded ) {\n        selfTargetSize = [self layoutExpandedGraph];\n    } else {\n        selfTargetSize = [self layoutCollapsedGraph];\n    }\n\n    // Mark as having completed layout.\n    self.needsGraphLayout = NO;\n\n    // Return our new size.\n    return selfTargetSize;\n}\n\n- (CGSize) layoutExpandedGraph\n{\n    CGSize selfTargetSize;\n\n    PSBaseTreeGraphView *treeGraph = self.enclosingTreeGraph;\n\n\tCGFloat parentChildSpacing = treeGraph.parentChildSpacing;\n    CGFloat siblingSpacing = treeGraph.siblingSpacing;\n\tPSTreeGraphOrientationStyle treeOrientation = treeGraph.treeGraphOrientation;\n\n    // Size this SubtreeView's nodeView to fit its content.  Our tree layout model assumes the assessment\n\t// of a node's natural size is a function of intrinsic properties of the node, and isn't influenced\n\t// by any other nodes or layout in the tree.\n\n    CGSize rootNodeViewSize = [self sizeNodeViewToFitContent];\n\n    // Recurse to lay out each of our child SubtreeViews (and their non-collapsed descendants in turn).\n    // Knowing the sizes of our child SubtreeViews will tell us what size this SubtreeView needs to be\n    // to contain them (and our nodeView and connectorsView).\n\n    NSArray *subviews = self.subviews;\n    NSInteger count = subviews.count;\n    NSInteger index;\n    NSUInteger subtreeViewCount = 0;\n    CGFloat maxWidth = 0.0f;\n    CGFloat maxHeight = 0.0f;\n    CGPoint nextSubtreeViewOrigin = CGPointZero;\n\n    if (( treeOrientation == PSTreeGraphOrientationStyleHorizontal ) ||\n        ( treeOrientation == PSTreeGraphOrientationStyleHorizontalFlipped )){\n        nextSubtreeViewOrigin = CGPointMake(rootNodeViewSize.width + parentChildSpacing, 0.0f);\n    } else {\n        nextSubtreeViewOrigin = CGPointMake(0.0f, rootNodeViewSize.height + parentChildSpacing);\n    }\n\n    for (index = count - 1; index >= 0; index--) {\n        UIView *subview = subviews[index];\n\n        if ([subview isKindOfClass:[PSBaseSubtreeView class]]) {\n            ++subtreeViewCount;\n\n            // Unhide the view if needed.\n            [subview setHidden:NO];\n\n            // Recursively layout the subtree, and obtain the SubtreeView's resultant size.\n            CGSize subtreeViewSize = [(PSBaseSubtreeView *)subview layoutGraphIfNeeded];\n\n            // Position the SubtreeView.\n            // [(animateLayout ? [subview animator] : subview) setFrameOrigin:nextSubtreeViewOrigin];\n\n            if (( treeOrientation == PSTreeGraphOrientationStyleHorizontal ) || \n                (treeOrientation == PSTreeGraphOrientationStyleHorizontalFlipped )) {\n                // Since SubtreeView is unflipped, lay out our child SubtreeViews going upward from our\n                // bottom edge, from last to first.\n                subview.frame = CGRectMake( nextSubtreeViewOrigin.x,\n                                           nextSubtreeViewOrigin.y,\n                                           subtreeViewSize.width,\n                                           subtreeViewSize.height );\n\n                // Advance nextSubtreeViewOrigin for the next SubtreeView.\n                nextSubtreeViewOrigin.y += subtreeViewSize.height + siblingSpacing;\n\n                // Keep track of the widest SubtreeView width we encounter.\n                if (maxWidth < subtreeViewSize.width) {\n                    maxWidth = subtreeViewSize.width;\n                }\n\n            } else {\n                // TODO: Lay out our child SubtreeViews going from our left edge, last to first. SWITCH ME\n                subview.frame = CGRectMake( nextSubtreeViewOrigin.x,\n                                           nextSubtreeViewOrigin.y,\n                                           subtreeViewSize.width,\n                                           subtreeViewSize.height );\n\n                // Advance nextSubtreeViewOrigin for the next SubtreeView.\n                nextSubtreeViewOrigin.x += subtreeViewSize.width + siblingSpacing;\n\n                // Keep track of the widest SubtreeView width we encounter.\n                if (maxHeight < subtreeViewSize.height) {\n                    maxHeight = subtreeViewSize.height;\n                }\n            }\n        }\n    }\n\n    // Calculate the total height of all our SubtreeViews, including the vertical spacing between them.\n    // We have N child SubtreeViews, but only (N-1) gaps between them, so subtract 1 increment of\n    // siblingSpacing that was added by the loop above.\n\n    CGFloat totalHeight = 0.0f;\n    CGFloat totalWidth = 0.0f;\n\n    if (( treeOrientation == PSTreeGraphOrientationStyleHorizontal ) || \n        (treeOrientation == PSTreeGraphOrientationStyleHorizontalFlipped )) {\n        totalHeight = nextSubtreeViewOrigin.y;\n        if (subtreeViewCount > 0) {\n            totalHeight -= siblingSpacing;\n        }\n    } else {\n        totalWidth = nextSubtreeViewOrigin.x;\n        if (subtreeViewCount > 0) {\n            totalWidth -= siblingSpacing;\n        }\n    }\n\n    // Size self to contain our nodeView all our child SubtreeViews, and position our\n    // nodeView and connectorsView.\n    if (subtreeViewCount > 0) {\n\n        // Determine our width and height.\n        if (( treeOrientation == PSTreeGraphOrientationStyleHorizontal ) || \n            ( treeOrientation == PSTreeGraphOrientationStyleHorizontalFlipped )) {\n            selfTargetSize = CGSizeMake(rootNodeViewSize.width + parentChildSpacing + maxWidth,\n                                        MAX(totalHeight, rootNodeViewSize.height) );\n        } else {\n            selfTargetSize = CGSizeMake(MAX(totalWidth, rootNodeViewSize.width),\n                                        rootNodeViewSize.height + parentChildSpacing + maxHeight);\n        }\n\n        // Resize to our new width and height.\n        // [(animateLayout ? [self animator] : self) setFrameSize:selfTargetSize];\n        self.frame = CGRectMake(self.frame.origin.x,\n                                self.frame.origin.y,\n                                selfTargetSize.width,\n                                selfTargetSize.height );\n\n        CGPoint nodeViewOrigin = CGPointZero;\n        if (( treeOrientation == PSTreeGraphOrientationStyleHorizontal ) ||\n            ( treeOrientation == PSTreeGraphOrientationStyleHorizontalFlipped )){\n            // Position our nodeView vertically centered along the left edge of our new bounds.\n            nodeViewOrigin = CGPointMake(0.0f, 0.5f * (selfTargetSize.height - rootNodeViewSize.height));\n\n        } else {\n            // Position our nodeView horizontally centered along the top edge of our new bounds.\n            nodeViewOrigin = CGPointMake(0.5f * (selfTargetSize.width - rootNodeViewSize.width), 0.0f);\n        }\n\n        // Pixel-align its position to keep its rendering crisp.\n        CGPoint windowPoint = [self convertPoint:nodeViewOrigin toView:nil];\n        windowPoint.x = round(windowPoint.x);\n        windowPoint.y = round(windowPoint.y);\n        nodeViewOrigin = [self convertPoint:windowPoint fromView:nil];\n\n        self.nodeView.frame = CGRectMake(nodeViewOrigin.x,\n                                         nodeViewOrigin.y,\n                                         self.nodeView.frame.size.width,\n                                         self.nodeView.frame.size.height );\n\n        // Position, show our connectorsView and button.\n\n        // TODO: Can shrink height a bit on top and bottom ends, since the connecting lines\n        // meet at the nodes' vertical centers\n\n        // NOTE: It may be better to stretch the content if a collapse animation is added?\n        // Be sure to test.  Given the size, and how they just contain the lines,  it seems\n        // best to just redraw these things.\n\n        // [_connectorsView setContentMode:UIViewContentModeScaleToFill ];\n\n        if (( treeOrientation == PSTreeGraphOrientationStyleHorizontal ) ||\n            ( treeOrientation == PSTreeGraphOrientationStyleHorizontalFlipped )){\n            _connectorsView.frame = CGRectMake(rootNodeViewSize.width,\n                                               0.0f,\n                                               parentChildSpacing,\n                                               selfTargetSize.height );\n        } else {\n            _connectorsView.frame = CGRectMake(0.0f,\n                                               rootNodeViewSize.height,\n                                               selfTargetSize.width,\n                                               parentChildSpacing );\n        }\n\n        // NOTE: Enable this line if a collapse animation is added (line below not used)\n        // [_connectorsView setContentMode:UIViewContentModeRedraw];\n\n        [_connectorsView setHidden:NO];\n\n    } else {\n        // No SubtreeViews; this is a leaf node.\n        // Size self to exactly wrap nodeView, hide connectorsView, and hide the button.\n\n        selfTargetSize = rootNodeViewSize;\n\n        self.frame = CGRectMake(self.frame.origin.x,\n                                self.frame.origin.y,\n                                selfTargetSize.width,\n                                selfTargetSize.height );\n\n        self.nodeView.frame = CGRectMake(0.0f,\n                                         0.0f,\n                                         self.nodeView.frame.size.width,\n                                         self.nodeView.frame.size.height );\n\n        [_connectorsView setHidden:YES];\n    }\n\n    // Return our new size.\n    return selfTargetSize;\n}\n\n- (CGSize) layoutCollapsedGraph\n{\n\n    // This node is collapsed. Everything will be collapsed behind the leafNode\n    CGSize selfTargetSize = [self sizeNodeViewToFitContent];\n\n    self.frame = CGRectMake(self.frame.origin.x,\n                            self.frame.origin.y,\n                            selfTargetSize.width,\n                            selfTargetSize.height );\n\n    for (UIView *subview in self.subviews) {\n        if ([subview isKindOfClass:[PSBaseSubtreeView class]]) {\n\n            [(PSBaseSubtreeView *)subview layoutGraphIfNeeded];\n\n            subview.frame = CGRectMake(0.0f,\n                                       0.0f,\n                                       subview.frame.size.width,\n                                       subview.frame.size.height );\n\n            [subview setHidden:YES];\n\n        } else if (subview == _connectorsView) {\n\n            // NOTE: It may be better to stretch the content if a collapse animation is added?\n            // Be sure to test.  Given the size, and how they just contain the lines,  it seems\n            // best to just redraw these things.\n\n            // [_connectorsView setContentMode:UIViewContentModeScaleToFill ];\n\n            PSTreeGraphOrientationStyle treeOrientation = self.enclosingTreeGraph.treeGraphOrientation;\n            if (( treeOrientation == PSTreeGraphOrientationStyleHorizontal ) || \n                ( treeOrientation == PSTreeGraphOrientationStyleHorizontal )){\n                _connectorsView.frame = CGRectMake(0.0f,\n                                                   0.5f * selfTargetSize.height,\n                                                   0.0f,\n                                                   0.0f );\n            } else {\n                _connectorsView.frame = CGRectMake(0.5f * selfTargetSize.width,\n                                                   0.0f,\n                                                   0.0f,\n                                                   0.0f );\n            }\n\n            // NOTE: Enable this line if a collapse animation is added (line below not used)\n            // [_connectorsView setContentMode:UIViewContentModeRedraw];\n\n            [subview setHidden:YES];\n\n        } else if (subview == _nodeView) {\n\n            subview.frame = CGRectMake(0.0f,\n                                       0.0f,\n                                       selfTargetSize.width,\n                                       selfTargetSize.height );\n\n        }\n    }\n\n    // Return our new size.\n    return selfTargetSize;\n}\n\n\n#pragma mark - Drawing\n\n- (void) updateSubtreeBorder\n{\n    // // Disable implicit animations during these layer property changes, to make them take effect immediately.\n    // BOOL actionsWereDisabled = [CATransaction disableActions];\n    // [CATransaction setDisableActions:YES];\n\n    // If the enclosing TreeGraph has its \"showsSubtreeFrames\" debug feature enabled,\n    // configure the backing layer to draw its border programmatically.  This is much more efficient\n    // than allocating a backing store for each SubtreeView's backing layer, only to stroke a simple\n    // rectangle into that backing store.\n    \n    CALayer *layer = self.layer;\n\n    PSBaseTreeGraphView *treeGraph = self.enclosingTreeGraph;\n    \n    if (treeGraph.showsSubtreeFrames) {\n        layer.borderWidth = subtreeBorderWidth();\n        layer.borderColor = subtreeBorderColor().CGColor;\n    } else {\n        layer.borderWidth = 0.0;\n    }\n\n    // // Disable implicit animations during these layer property changes\n    // [CATransaction setDisableActions:actionsWereDisabled];\n\n}\n\n\n#pragma mark - Invalidation\n\n- (void) recursiveSetConnectorsViewsNeedDisplay\n{\n    // Mark this SubtreeView's connectorsView as needing display.\n    [_connectorsView setNeedsDisplay];\n\n    // Recurse for descendant SubtreeViews.\n    NSArray *subviews = self.subviews;\n    for (UIView *subview in subviews) {\n        if ([subview isKindOfClass:[PSBaseSubtreeView class]]) {\n            [(PSBaseSubtreeView *)subview recursiveSetConnectorsViewsNeedDisplay];\n        }\n    }\n}\n\n- (void) resursiveSetSubtreeBordersNeedDisplay\n{\n    // We only need this if layer-backed.  When we have a backing layer, we use the\n    // layer's \"border\" properties to draw the subtree debug border.\n\n    [self updateSubtreeBorder];\n\n    // Recurse for descendant SubtreeViews.\n    NSArray *subviews = self.subviews;\n    for (UIView *subview in subviews) {\n        if ([subview isKindOfClass:[PSBaseSubtreeView class]]) {\n            [(PSBaseSubtreeView *)subview updateSubtreeBorder];\n        }\n    }\n}\n\n\n#pragma mark - Selection State\n\n- (BOOL) nodeIsSelected\n{\n    return [self.enclosingTreeGraph.selectedModelNodes containsObject:self.modelNode];\n}\n\n\n#pragma mark - Node Hit-Testing\n\n- (id <PSTreeGraphModelNode> ) modelNodeAtPoint:(CGPoint)p\n{\n\t// Check for intersection with our subviews, enumerating them in reverse order to get\n\t// front-to-back ordering.  We could use UIView's -hitTest: method here, but we don't\n\t// want to bother hit-testing deeper than the nodeView level.\n\n    NSArray *subviews = self.subviews;\n    NSInteger count = subviews.count;\n    NSInteger index;\n\n    for (index = count - 1; index >= 0; index--) {\n        UIView *subview = subviews[index];\n\n\t\t//        CGRect subviewBounds = [subview bounds];\n        CGPoint subviewPoint = [subview convertPoint:p fromView:self];\n\t\t//\n\t\t//\t\t  if (CGPointInRect(subviewPoint, subviewBounds)) {\n\n\t\tif ( [subview pointInside:subviewPoint withEvent:nil]  ) {\n\n            if (subview == self.nodeView) {\n                return self.modelNode;\n            } else if ( [subview isKindOfClass:[PSBaseSubtreeView class]] ) {\n                return [(PSBaseSubtreeView *)subview modelNodeAtPoint:subviewPoint];\n            } else {\n                // Ignore subview. It's probably a BranchView.\n            }\n        }\n    }\n\n    // We didn't find a hit.\n    return nil;\n}\n\n- (id <PSTreeGraphModelNode> ) modelNodeClosestToY:(CGFloat)y\n{\n\t// Do a simple linear search of our subviews, ignoring non-SubtreeViews.  If performance was ever\n    // an issue for this code, we could take advantage of knowing the layout order of the nodes to do\n    // a sort of binary search.\n\n    NSArray *subviews = self.subviews;\n    PSBaseSubtreeView *subtreeViewWithClosestNodeView = nil;\n    CGFloat closestNodeViewDistance = MAXFLOAT;\n\n    for (UIView *subview in subviews) {\n        if ([subview isKindOfClass:[PSBaseSubtreeView class]]) {\n            UIView *childNodeView = ((PSBaseSubtreeView *)subview).nodeView;\n            if (childNodeView) {\n                CGRect rect = [self convertRect:childNodeView.bounds fromView:childNodeView];\n                CGFloat nodeViewDistance = fabs(y - CGRectGetMidY(rect));\n                if (nodeViewDistance < closestNodeViewDistance) {\n                    closestNodeViewDistance = nodeViewDistance;\n                    subtreeViewWithClosestNodeView = (PSBaseSubtreeView *)subview;\n                }\n            }\n        }\n    }\n\n    return subtreeViewWithClosestNodeView.modelNode;\n}\n\n- (id <PSTreeGraphModelNode> ) modelNodeClosestToX:(CGFloat)x\n{\n\t// Do a simple linear search of our subviews, ignoring non-SubtreeViews.  If performance was ever\n    // an issue for this code, we could take advantage of knowing the layout order of the nodes to do\n    // a sort of binary search.\n\n    NSArray *subviews = self.subviews;\n    PSBaseSubtreeView *subtreeViewWithClosestNodeView = nil;\n    CGFloat closestNodeViewDistance = MAXFLOAT;\n\n    for (UIView *subview in subviews) {\n        if ([subview isKindOfClass:[PSBaseSubtreeView class]]) {\n            UIView *childNodeView = ((PSBaseSubtreeView *)subview).nodeView;\n            if (childNodeView) {\n                CGRect rect = [self convertRect:childNodeView.bounds fromView:childNodeView];\n                CGFloat nodeViewDistance = fabs(x - CGRectGetMidX(rect));\n                if (nodeViewDistance < closestNodeViewDistance) {\n                    closestNodeViewDistance = nodeViewDistance;\n                    subtreeViewWithClosestNodeView = (PSBaseSubtreeView *)subview;\n                }\n            }\n        }\n    }\n\n    return subtreeViewWithClosestNodeView.modelNode;\n}\n\n\n#pragma mark - Debugging\n\n// These methods access private member variables so they do not invoke app logic.  We only\n// want to dump the current state.  Change this if these properties are synthesized.\n\n- (NSString *) description\n{\n    return [NSString stringWithFormat:@\"SubtreeView<%@>\", _modelNode.description];\n}\n\n- (NSString *) nodeSummary\n{\n    return [NSString stringWithFormat:@\"f=%@ %@\", NSStringFromCGRect(_nodeView.frame), _modelNode.description];\n}\n\n- (NSString *) treeSummaryWithDepth:(NSInteger)depth\n{\n    NSEnumerator *subviewsEnumerator = [self.subviews objectEnumerator];\n    UIView *subview;\n    NSMutableString *description = [NSMutableString string];\n    NSInteger i;\n    for (i = 0; i < depth; i++) {\n        [description appendString:@\"  \"];\n    }\n    [description appendFormat:@\"%@\\n\", [self nodeSummary]];\n    while (subview = [subviewsEnumerator nextObject]) {\n        if ([subview isKindOfClass:[PSBaseSubtreeView class]]) {\n            [description appendString:[(PSBaseSubtreeView *)subview treeSummaryWithDepth:(depth + 1)]];\n        }\n    }\n    return description;\n}\n\n\n@end\n"
  },
  {
    "path": "PSTreeGraphView/PSBaseTreeGraphView.h",
    "content": "//\n//  PSBaseTreeGraphView.h\n//  PSTreeGraphView\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright 2015 Preston Software. All rights reserved.\n//\n//\n//  This is a port of the sample code from Max OS X to iOS (iPad).\n//\n//  WWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n//\n\n\n#import <UIKit/UIKit.h>\n\n\n/// A TreeGraph's nodes may be connected by either \"direct\" or \"orthogonal\" lines.\n\ntypedef NS_ENUM(NSUInteger, PSTreeGraphConnectingLineStyle)  {\n    PSTreeGraphConnectingLineStyleDirect = 0,\n    PSTreeGraphConnectingLineStyleOrthogonal = 1,\n};\n\n\n/// A TreeGraph's orientation may be either \"horizontal\" or \"vertical\".\n\ntypedef NS_ENUM(NSUInteger, PSTreeGraphOrientationStyle) {\n    PSTreeGraphOrientationStyleHorizontal = 0,\n    PSTreeGraphOrientationStyleVertical = 1,\n    PSTreeGraphOrientationStyleHorizontalFlipped = 2,\n    PSTreeGraphOrientationStyleVerticalFlipped = 3,\n};\n\n\n\n@class PSBaseSubtreeView;\n\n@protocol PSTreeGraphModelNode;\n@protocol PSTreeGraphDelegate;\n\n\n\n@interface PSBaseTreeGraphView : UIView <UIKeyInput>\n\n\n#pragma mark - Delegate\n\n@property (nonatomic, weak) id <PSTreeGraphDelegate> delegate;\n\n\n#pragma mark - Parent Resize Notification\n\n/// Use this method to keep the view in sync for now.\n\n- (void) parentClipViewDidResize:(id)object;\n\n\n#pragma mark - Creating Instances\n\n/// Initializes a new TreeGraph instance.  (TreeGraph's designated initializer is the same as\n/// UIView's: -initWithFrame:.)  The TreeGraph has default appearance properties and layout\n/// metrics, but to have a usable TreeGraph with actual content, you need to specify a\n/// nodeViewNibName and a modelRoot.\n\n- (instancetype) initWithFrame:(CGRect)frame;\n\n\n#pragma mark - Connection to Model\n\n/// The root of the model node tree that the TreeGraph is being asked to display.  (The modelRoot\n/// may have ancestor nodes, but TreeGraph will ignore them and treat modelRoot as the root.)  May\n/// be set to nil, in which case the TreeGraph displays no content.  The modelRoot object, and all\n/// of its desdendants as exposed through recursive application of the \"-childModelNodes\" accessor\n/// to traverse the model tree, must conform to the TreeGraphModelNode protocol declared in\n/// TreeGraphModelNode.h\n\n@property (nonatomic, strong) id <PSTreeGraphModelNode> modelRoot;\n\n\n#pragma mark - Root SubtreeView Access\n\n/// A TreeGraph builds the tree it displays using recursively nested SubtreeView instances.  This\n/// read-only accessor provides a way to get the rootmost SubtreeView (the one that corresponds\n/// to the modelRoot model node).\n\n@property (weak, nonatomic, readonly) PSBaseSubtreeView *rootSubtreeView;\n\n\n#pragma mark - Node View Nib Specification\n\n/// The name of the .nib file from which to instantiate node views.  (This API design assumes that\n/// all node views should be instantiated from the same .nib.  If a tree of heterogeneous nodes\n/// was desired, we could switch to a different mechanism for identifying the .nib to instantiate.)\n/// Must specify a \"View\" .nib file, whose File's Owner is a SubtreeView, or the TreeGraph will be\n/// unable to instantiate node views.\n\n@property (nonatomic, copy) NSString *nodeViewNibName;\n\n\n#pragma mark - Selection State\n\n/// The unordered set of model nodes that are currently selected in the TreeGraph.  When no nodes\n/// are selected, this is an empty NSSet.  It will never be nil (and attempting to set it to nil\n/// will raise an exception).  Every member of this set must be a descendant of the TreeGraph's\n/// modelRoot (or modelRoot itself).  If any member is not, TreeGraph will raise an exception.\n\n@property (nonatomic, copy) NSSet *selectedModelNodes;\n\n/// Convenience accessor that returns the selected node, if exactly one node is currently\n/// selected.  Returns nil if zero, or more than one, nodes are currently selected.\n\n@property (weak, nonatomic, readonly) id <PSTreeGraphModelNode> singleSelectedModelNode;\n\n/// Returns the bounding box of the selectedModelNodes.  The bounding box takes only the selected\n/// nodes into account, disregarding any descendants they might have.\n\n@property (nonatomic, readonly) CGRect selectionBounds;\n\n\n#pragma mark - Node Hit-Testing\n\n/// Returns the model node under the given point, which must be expressed in the TreeGraph's\n/// interior (bounds) coordinate space.  If there is a collapsed subtree at the given point,\n/// returns the model node at the root of the collapsed subtree.  If there is no model node\n/// at the given point, returns nil.\n\n- (id <PSTreeGraphModelNode> ) modelNodeAtPoint:(CGPoint)p;\n\n\n#pragma mark - Sizing and Layout\n\n/// A TreeGraph's minimumFrameSize is the size needed to accommodate its content (as currently\n/// laid out) and margins.  Changes to the TreeGraph's content, layout, or margins will update\n/// this.  When a TreeGraph is the documentView of an UIScrollView, its actual frame may be larger\n/// than its minimumFrameSize, since we automatically expand the TreeGraph to always be at least\n/// as large as the UIScrollView's clip area (contentView) to provide a nicer user experience.\n\n@property (nonatomic, readonly) CGSize minimumFrameSize;\n\n/// If YES, and if the TreeGraph is the documentView of an UIScrollView, the TreeGraph will\n/// automatically resize itself as needed to ensure that it always at least fills the content\n/// area of its enclosing UIScrollView.  If NO, or if the TreeGraph is not the documentView of\n/// an UIScrollView, the TreeGraph's size is determined only by its content and margins.\n\n@property (nonatomic, assign) BOOL resizesToFillEnclosingScrollView;\n\n/// The style for tree graph orientation\n/// @note See the PSTreeGraphOrientationStyle enumeration.\n\n@property (nonatomic, assign) PSTreeGraphOrientationStyle treeGraphOrientation;\n\n/// Is the TreeGraph flipped \n/// Flipped means the graph is drawn with the branches to the left or top and the root node\n/// to the right or bottom.  Default is NO\n\n@property (nonatomic, assign) BOOL treeGraphFlipped;\n\n/// Returns YES if the tree needs relayout.\n\n- (BOOL) needsGraphLayout;\n\n/// Marks the tree as needing relayout.\n\n- (void) setNeedsGraphLayout;\n\n/// Performs graph layout, if the tree is marked as needing it.  Returns the size computed for the\n/// tree (not including contentMargin).\n\n- (CGSize) layoutGraphIfNeeded;\n\n/// Collapses the root node, if it is currently expanded.\n\n- (void) collapseRoot;\n\n/// Expands the root node, if it is currently collapsed.\n\n- (void) expandRoot;\n\n/// Toggles the expansion state of the TreeGraph's selectedModelNodes, expanding those that are\n/// currently collapsed, and collapsing those that are currently expanded.\n\n- (IBAction) toggleExpansionOfSelectedModelNodes:(id)sender;\n\n/// Returns the bounding box of the node views that represent the specified modelNodes.  Model\n/// nodes that aren't part of the displayed tree, or are part of a collapsed subtree, are ignored\n/// and don't contribute to the returned bounding box.  The bounding box takes only the specified\n/// nodes into account, disregarding any descendants they might have.\n\n- (CGRect) boundsOfModelNodes:(NSSet *)modelNodes;\n\n\n#pragma mark - Scrolling\n\n/// Does a [self scrollRectToVisible:] with the bounding box of the specified model nodes.\n\n- (void) scrollModelNodesToVisible:(NSSet *)modelNodes animated:(BOOL)animated;\n\n/// Does a [self scrollRectToVisible:] with the bounding box of the selected model nodes.\n\n- (void) scrollSelectedModelNodesToVisibleAnimated:(BOOL)animated;\n\n\n#pragma mark - Animation Support\n\n/// Whether the TreeGraph animates layout operations.  Defaults to YES.  If set to NO, layout\n/// jumpst instantaneously to the tree's new state.\n\n@property (nonatomic, assign) BOOL animatesLayout;\n\n/// Used to temporarily suppress layout animation during event tracking.  Layout animation happens\n/// only if animatesLayout is YES and this is NO.\n\n@property (nonatomic, assign) BOOL layoutAnimationSuppressed;\n\n\n#pragma mark - Layout Metrics\n\n/// The amount of padding to leave between the displayed tree and each of the\n/// four edges of the TreeGraph's bounds.\n\n@property (nonatomic, assign) CGFloat contentMargin;\n\n/// The horizonal spacing between each parent node and its child nodes.\n\n@property (nonatomic, assign) CGFloat parentChildSpacing;\n\n/// The vertical spacing betwen sibling nodes.\n\n@property (nonatomic, assign) CGFloat siblingSpacing;\n\n\n#pragma mark - Styling\n\n// The fill color for the TreeGraph's content area.\n\n// @property(copy) UIColor *backgroundColor;\n\n/// The stroke color for node connecting lines.\n\n@property (nonatomic, strong) UIColor *connectingLineColor;\n\n/// The width for node connecting lines.\n\n@property (nonatomic, assign) CGFloat connectingLineWidth;\n\n/// The style for node connecting lines.\n/// @note See the PSTreeGraphConnectingLineStyle enumeration.\n\n@property (nonatomic, assign) PSTreeGraphConnectingLineStyle connectingLineStyle;\n\n/// Defaults to NO.  If YES, a stroked outline is shown around each of the TreeGraph's\n/// SubtreeViews.  This can be helpful for visualizing the TreeGraph's structure and layout.\n\n@property (nonatomic, assign) BOOL showsSubtreeFrames;\n\n\n#pragma mark - Input and Navigation\n\n/// Custom input view for navigation.\n///\n/// By default, this control supports a hardware keyboard unless this property is assigned\n/// to another input view.\n///\n/// More Info:\n///\n/// A placeholder view is created to so the default keyboard is not presented to the user.\n/// When a hardware keyboard is attached, touching the TreeGraph makes it first responder\n/// and certain keyboard shortcuts become available for navigation. ie. the space bar\n/// expands and collapses the current selection. The following keys; w, a, s, d, navigate\n/// relative to the graph.\n///\n/// Custom navigation can be added by assigning a custom UIView to inputView, and linking\n/// it up to some of the actions below.\n\n@property (nonatomic, strong) IBOutlet UIView *inputView;\n\n// Model relative navigation\n- (void) moveToSiblingByRelativeIndex:(NSInteger)relativeIndex;\n- (IBAction) moveToParent:(id)sender;\n- (IBAction) moveToNearestChild:(id)sender;\n\n// Graph relative navigation\n- (IBAction) moveUp:(id)sender;\n- (IBAction) moveDown:(id)sender;\n- (IBAction) moveLeft:(id)sender;\n- (IBAction) moveRight:(id)sender;\n\n@end\n"
  },
  {
    "path": "PSTreeGraphView/PSBaseTreeGraphView.m",
    "content": "//\n//  PSBaseTreeGraphView.m\n//  PSTreeGraphView\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright 2015 Preston Software. All rights reserved.\n//\n//\n//  This is a port of the sample code from Max OS X to iOS (iPad).\n//\n//  WWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n//\n\n#import \"PSBaseTreeGraphView.h\"\n#import \"PSBaseTreeGraphView_Internal.h\"\n#import \"PSBaseSubtreeView.h\"\n#import \"PSBaseLeafView.h\"\n\n#import \"PSTreeGraphDelegate.h\"\n#import \"PSTreeGraphModelNode.h\"\n\n// For displayIfNeeded\n#import <QuartzCore/QuartzCore.h>\n\n\n#pragma mark - Internal Interface\n\n@interface PSBaseTreeGraphView () \n{\n    \n@private\n    \n    // Model Object -> SubtreeView Mapping\n\tNSMutableDictionary *_modelNodeToSubtreeViewMapTable;\n    \n    // Node View Nib Specification\n    NSString *_nodeViewNibName;\n    \n\t// iOS 4 and above ONLY\n    UINib *_cachedNodeViewNib;\n    \n}\n\n@end\n\n\n@implementation PSBaseTreeGraphView\n\n\n#pragma mark - Styling\n\n// Getters and setters for TreeGraph's appearance-related properties: colors, metrics, etc.  We could almost\n// leave the auto-generated ones, but we want each setter to automatically mark the affected parts\n// of the TreeGraph (and/or the descendant views that it's responsible for) as needing drawing to reflet the\n// appearance change.  In other respects, these are unremarkable accessor methods that follow standard accessor\n// conventions.\n\n\n- (void) setConnectingLineColor:(UIColor *)newConnectingLineColor\n{\n    if (_connectingLineColor != newConnectingLineColor) {\n        _connectingLineColor = newConnectingLineColor;\n        [self.rootSubtreeView recursiveSetConnectorsViewsNeedDisplay];\n    }\n}\n\n- (void) setContentMargin:(CGFloat)newContentMargin\n{\n    if (_contentMargin != newContentMargin) {\n        _contentMargin = newContentMargin;\n        [self setNeedsGraphLayout];\n    }\n}\n\n- (void) setParentChildSpacing:(CGFloat)newParentChildSpacing\n{\n    if (_parentChildSpacing != newParentChildSpacing) {\n        _parentChildSpacing = newParentChildSpacing;\n        [self setNeedsGraphLayout];\n    }\n}\n\n- (void) setSiblingSpacing:(CGFloat)newSiblingSpacing\n{\n    if (_siblingSpacing != newSiblingSpacing) {\n        _siblingSpacing = newSiblingSpacing;\n        [self setNeedsGraphLayout];\n    }\n}\n\n- (void) setTreeGraphOrientation:(PSTreeGraphOrientationStyle)newTreeGraphOrientation\n{\n    if (_treeGraphOrientation != newTreeGraphOrientation) {\n        _treeGraphOrientation = newTreeGraphOrientation;\n        [self.rootSubtreeView recursiveSetConnectorsViewsNeedDisplay];\n    }\n}\n\n- (void) setTreeGraphFlipped:(BOOL)newTreeGraphFlipped\n{\n    if (_treeGraphFlipped != newTreeGraphFlipped) {\n        _treeGraphFlipped = newTreeGraphFlipped;\n        [self.rootSubtreeView recursiveSetConnectorsViewsNeedDisplay];\n    }\n}\n\n- (void) setConnectingLineStyle:(PSTreeGraphConnectingLineStyle)newConnectingLineStyle\n{\n    if (_connectingLineStyle != newConnectingLineStyle) {\n        _connectingLineStyle = newConnectingLineStyle;\n        [self.rootSubtreeView recursiveSetConnectorsViewsNeedDisplay];\n    }\n}\n\n- (void) setConnectingLineWidth:(CGFloat)newConnectingLineWidth {\n    if (_connectingLineWidth != newConnectingLineWidth) {\n        _connectingLineWidth = newConnectingLineWidth;\n        [self.rootSubtreeView recursiveSetConnectorsViewsNeedDisplay];\n    }\n}\n\n- (void) setResizesToFillEnclosingScrollView:(BOOL)flag\n{\n    if (_resizesToFillEnclosingScrollView != flag) {\n        _resizesToFillEnclosingScrollView = flag;\n        [self updateFrameSizeForContentAndClipView];\n        [self updateRootSubtreeViewPositionForSize:self.rootSubtreeView.frame.size];\n    }\n}\n\n- (void) setShowsSubtreeFrames:(BOOL)newShowsSubtreeFrames\n{   // DEBUG\n    if (_showsSubtreeFrames != newShowsSubtreeFrames) {\n        _showsSubtreeFrames = newShowsSubtreeFrames;\n        [self.rootSubtreeView resursiveSetSubtreeBordersNeedDisplay];\n    }\n}\n\n\n#pragma mark - Initialization\n\n- (void) configureDefaults\n{\n\tself.backgroundColor = [UIColor colorWithRed:0.55 green:0.76 blue:0.93 alpha:1.0];\n\t//[self setClipsToBounds:YES];\n\n\t// Initialize ivars directly.  As a rule, it's best to avoid invoking accessors from an -init... method,\n\t// since they may wrongly expect the instance to be fully formed.\n\n\t// May be configured by user in code, loaded from NSCoder, etc\n\t_connectingLineColor = [UIColor blackColor];\n\t_contentMargin = 20.0;\n\t_parentChildSpacing = 50.0;\n\t_siblingSpacing = 10.0;\n\t_animatesLayout = YES;\n\t_resizesToFillEnclosingScrollView = YES;\n\t_treeGraphFlipped = NO;\n\t_treeGraphOrientation = PSTreeGraphOrientationStyleHorizontal ;\n\t_connectingLineStyle = PSTreeGraphConnectingLineStyleOrthogonal ;\n\t_connectingLineWidth = 1.0;\n\n    // Internal\n    _layoutAnimationSuppressed = NO;\n\t_showsSubtreeFrames = NO;\n\t_minimumFrameSize = CGSizeMake(2.0 * _contentMargin, 2.0 * _contentMargin);\n\t_selectedModelNodes = [[NSMutableSet alloc] init];\n    _modelNodeToSubtreeViewMapTable = [NSMutableDictionary dictionaryWithCapacity:10];\n\n    // If this has been configured by the XIB, leave it during initialization.\n    if (_inputView == nil) {\n        _inputView = [[UIView alloc] initWithFrame:CGRectZero];\n    }\n}\n\n\n#pragma mark - Resource Management\n\n- (void) dealloc\n{\n    self.delegate = nil;\n}\n\n\n#pragma mark - UIView\n\n- (instancetype) initWithFrame:(CGRect)frame\n{\n    self = [super initWithFrame:frame];\n    if (self) {\n        [self configureDefaults];\n    }\n    return self;\n}\n\n\n#pragma mark - Root SubtreeView Access\n\n- (PSBaseSubtreeView *) rootSubtreeView\n{\n    return [self subtreeViewForModelNode:self.modelRoot];\n}\n\n\n#pragma mark - Node View Nib Caching\n\n// iOS 4.0 and above ONLY -\n\n- (UINib *) cachedNodeViewNib {\n    return _cachedNodeViewNib;\n\n    // If 3.x Support required, change references to UINib to ID (careful not to modify\n    // the one below.) uncomment the following code, test. Note: Does not check for valid\n    // [self nodeViewNibName].\n\n    //    if (!_cachedNodeViewNib) {\n    //        Class cls = NSClassFromString(@\"UINib\");\n    //        if ([cls respondsToSelector:@selector(nibWithNibName:bundle:)]) {\n    //            _cachedNodeViewNib = [[cls nibWithNibName:[self nodeViewNibName] bundle:[NSBundle mainBundle]] retain];\n    //        }\n    //    }\n}\n\n- (void) setCachedNodeViewNib:(UINib *)newNib {\n    if (_cachedNodeViewNib != newNib) {\n        _cachedNodeViewNib = newNib;\n    }\n}\n\n\n#pragma mark - Node View Nib Specification\n\n- (void) setNodeViewNibName:(NSString *)newName\n{\n    if (_nodeViewNibName != newName) {\n\n\t\t// iOS 4.0 and above ONLY\n\t\t[self setCachedNodeViewNib:nil];\n\n        _nodeViewNibName = [newName copy];\n\n        // TODO: Tear down and (later) rebuild view tree.\n    }\n}\n\n\n#pragma mark - Selection State\n\n// The unordered set of model nodes that are currently selected in the TreeGraph.  When\n// no nodes are selected, this is an empty NSSet.  It will never be nil (and attempting\n// to set it to nil is not allowed.).\n\n- (void) setSelectedModelNodes:(NSSet *)newSelectedModelNodes\n{\n    NSParameterAssert(newSelectedModelNodes != nil); // Never pass nil. Pass [NSSet set] instead.\n\n    // Verify that each of the nodes in the new selection is in the TreeGraph's assigned model tree.\n    for (id modelNode in newSelectedModelNodes) {\n        NSAssert([self modelNodeIsInAssignedTree:modelNode], @\"modelNode is not in the tree\");\n    }\n\n    if (_selectedModelNodes != newSelectedModelNodes) {\n\n\t\t// Determine which nodes are changing selection state (either becoming selected, or ceasing to\n        // be selected), and mark affected areas as needing display.  Take the union of the previous and\n        // new selected node sets, subtract the set of nodes that are in both the old and new selection,\n        // and the result is the set of nodes whose selection state is changing.\n\n        NSMutableSet *combinedSet = [_selectedModelNodes mutableCopy];\n        [combinedSet unionSet:newSelectedModelNodes];\n\n        NSMutableSet *intersectionSet = [_selectedModelNodes mutableCopy];\n        [intersectionSet intersectSet:newSelectedModelNodes];\n\n        NSMutableSet *differenceSet = [combinedSet mutableCopy];\n        [differenceSet minusSet:intersectionSet];\n\n        // Discard the old selectedModelNodes set and replace it with the new one.\n        _selectedModelNodes = [newSelectedModelNodes mutableCopy];\n\n        for (id <PSTreeGraphModelNode> modelNode in differenceSet) {\n            PSBaseSubtreeView *subtreeView = [self subtreeViewForModelNode:modelNode];\n            UIView *nodeView = subtreeView.nodeView;\n            if (nodeView && [nodeView isKindOfClass:[PSBaseLeafView class]]) {\n                // TODO: Selection-highlighting is currently hardwired to our use of ContainerView.\n                // This should be generalized.\n                ((PSBaseLeafView *)nodeView).showingSelected = ([newSelectedModelNodes containsObject:modelNode] ? YES : NO);\n            }\n        }\n\n        // Release the temporary sets we created.\n    }\n}\n\n- (id <PSTreeGraphModelNode> ) singleSelectedModelNode\n{\n    NSSet *selection = self.selectedModelNodes;\n    return (selection.count == 1) ? [selection anyObject] : nil;\n}\n\n- (CGRect) selectionBounds\n{\n    return [self boundsOfModelNodes:self.selectedModelNodes];\n}\n\n\n#pragma mark - Graph Building\n\n- (PSBaseSubtreeView *) newGraphForModelNode:(id <PSTreeGraphModelNode> )modelNode\n{\n    NSParameterAssert(modelNode);\n\n    PSBaseSubtreeView *subtreeView = [[PSBaseSubtreeView alloc] initWithModelNode:modelNode];\n    if (subtreeView) {\n\n        // Get nib from which to load nodeView.\n        UINib *nodeViewNib = self.cachedNodeViewNib;\n\n        if (nodeViewNib == nil) {\n            NSString *nibName = self.nodeViewNibName;\n            NSAssert(nibName != nil,\n                     @\"You must set a non-nil nodeViewNibName for TreeGraph to be able to build its view tree\");\n            if (nibName != nil) {\n                nodeViewNib = [UINib nibWithNibName:self.nodeViewNibName bundle:[NSBundle mainBundle]];\n                self.cachedNodeViewNib = nodeViewNib;\n            }\n        }\n\n        NSArray *nibViews = nil;\n        if (nodeViewNib != nil) {\n            // Instantiate the nib to create our nodeView and associate it with the subtreeView (the nib's owner).\n            nibViews = [nodeViewNib instantiateWithOwner:subtreeView options:nil];\n        }\n\n\t\tif ( nibViews ) {\n\n\t\t\t// Ask our delete to configure the interface for the modelNode displayed in nodeView.\n\t\t\tif ( [self.delegate conformsToProtocol:@protocol(PSTreeGraphDelegate)] ) {\n\t\t\t\t[self.delegate configureNodeView:subtreeView.nodeView withModelNode:modelNode ];\n\t\t\t}\n\n            // Add the nodeView as a subview of the subtreeView.\n            [subtreeView addSubview:subtreeView.nodeView];\n\n            // Register the subtreeView in our map table, so we can look it up by its modelNode.\n            [self setSubtreeView:subtreeView forModelNode:modelNode];\n\n            // Recurse to create a SubtreeView for each descendant of modelNode.\n            NSArray *childModelNodes = [modelNode childModelNodes];\n\n            NSAssert(childModelNodes != nil,\n                     @\"childModelNodes should return an empty array ([NSArray array]), not nil.\");\n\n            if (childModelNodes != nil) {\n                for (id <PSTreeGraphModelNode> childModelNode in childModelNodes) {\n                    PSBaseSubtreeView *childSubtreeView = [self newGraphForModelNode:childModelNode];\n                    if (childSubtreeView != nil) {\n\n                        // Add the child subtreeView behind the parent subtreeView's nodeView (so that when we\n                        // collapse the subtree, its nodeView will remain frontmost).\n\n                        [subtreeView insertSubview:childSubtreeView belowSubview:subtreeView.nodeView];\n                    }\n                }\n            }\n\n        } else {\n            subtreeView = nil;\n        }\n    }\n\n    return subtreeView;\n}\n\n- (void) buildGraph\n{\n    @autoreleasepool {\n\n        // Traverse the model tree, building a SubtreeView for each model node.\n        id <PSTreeGraphModelNode> root = self.modelRoot;\n        if (root) {\n            PSBaseSubtreeView *rootSubtreeView = [self newGraphForModelNode:root];\n            if (rootSubtreeView) {\n                [self addSubview:rootSubtreeView];\n            }\n        }\n\n    } // Drain the pool\n}\n\n\n#pragma mark - Layout\n\n- (void) updateFrameSizeForContentAndClipView\n{\n    CGSize newFrameSize;\n    CGSize newMinimumFrameSize = self.minimumFrameSize;\n\n\t// TODO: Additional checks to ensure we are in a UIScrollView\n\tUIScrollView *enclosingScrollView = (UIScrollView *)self.superview;\n\n\n\tif ( self.resizesToFillEnclosingScrollView && enclosingScrollView ) {\n\n        // This TreeGraph is a child of a UIScrollView: Size it to always fill the content area (at minimum).\n\n\t\tCGRect contentViewBounds = enclosingScrollView.bounds;\n\t\tnewFrameSize.width = MAX(newMinimumFrameSize.width, contentViewBounds.size.width);\n        newFrameSize.height = MAX(newMinimumFrameSize.height, contentViewBounds.size.height);\n\n\t\tenclosingScrollView.contentSize = newFrameSize;\n\n    } else {\n        newFrameSize = newMinimumFrameSize;\n    }\n\n\tself.frame = CGRectMake(self.frame.origin.x,\n                            self.frame.origin.y,\n                            newFrameSize.width,\n                            newFrameSize.height );\n\n}\n\n- (void) updateRootSubtreeViewPositionForSize:(CGSize)rootSubtreeViewSize\n{\n    // Position the rootSubtreeView within the TreeGraph.\n    PSBaseSubtreeView *rootSubtreeView = self.rootSubtreeView;\n\n    // BOOL animateLayout = [self animatesLayout] && ![self layoutAnimationSuppressed];\n    CGPoint newOrigin;\n    if ( self.resizesToFillEnclosingScrollView ) {\n        CGRect bounds = self.bounds;\n\n\t\tif (( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontal ) ||\n            ( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontalFlipped )){\n\t\t\tnewOrigin = CGPointMake(self.contentMargin,\n                                    0.5 * (bounds.size.height - rootSubtreeViewSize.height));\n\t\t} else {\n\t\t\tnewOrigin = CGPointMake(0.5 * (bounds.size.width - rootSubtreeViewSize.width),\n                                    self.contentMargin);\n\t\t}\n\n    } else {\n        newOrigin = CGPointMake(self.contentMargin,\n                                self.contentMargin);\n    }\n\n    // [(animateLayout ? [rootSubtreeView animator] : rootSubtreeView) setFrameOrigin:newOrigin];\n\n\trootSubtreeView.frame = CGRectMake(newOrigin.x,\n\t\t\t\t\t\t\t\t\t   newOrigin.y,\n\t\t\t\t\t\t\t\t\t   rootSubtreeView.frame.size.width,\n\t\t\t\t\t\t\t\t\t   rootSubtreeView.frame.size.height );\n\n}\n\n- (void) parentClipViewDidResize:(id)object\n{\n\tUIScrollView *enclosingScrollView = (UIScrollView *)self.superview;\n\n\tif ( enclosingScrollView && [enclosingScrollView isKindOfClass:[UIScrollView class]] ) {\n        [self updateFrameSizeForContentAndClipView];\n        [self updateRootSubtreeViewPositionForSize:self.rootSubtreeView.frame.size];\n        [self scrollSelectedModelNodesToVisibleAnimated:NO];\n    }\n}\n\n- (void) layoutSubviews\n{\n    // Do graph layout if we need to.\n    [self layoutGraphIfNeeded];\n}\n\n- (CGSize) layoutGraphIfNeeded\n{\n    PSBaseSubtreeView *rootSubtreeView = self.rootSubtreeView;\n    if ([self needsGraphLayout] && self.modelRoot) {\n\n        // Do recursive graph layout, starting at our rootSubtreeView.\n        CGSize rootSubtreeViewSize = [rootSubtreeView layoutGraphIfNeeded];\n\n        // Compute self's new minimumFrameSize.  Make sure it's pixel-integral.\n        CGFloat margin = self.contentMargin;\n        CGSize minimumBoundsSize = CGSizeMake(rootSubtreeViewSize.width + 2.0 * margin,\n                                              rootSubtreeViewSize.height + 2.0 * margin);\n\n\t\t_minimumFrameSize = minimumBoundsSize;\n\n        // Set the TreeGraph's frame size.\n        [self updateFrameSizeForContentAndClipView];\n\n        // Position the TreeGraph's root SubtreeView.\n        [self updateRootSubtreeViewPositionForSize:rootSubtreeViewSize];\n        \n\t\tif (( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontalFlipped ) ||\n            ( self.treeGraphOrientation == PSTreeGraphOrientationStyleVerticalFlipped )){\n            [rootSubtreeView flipTreeGraph];\n        }\n        return rootSubtreeViewSize;\n    } else {\n        return rootSubtreeView ? rootSubtreeView.frame.size : CGSizeZero;\n    }\n}\n\n- (BOOL) needsGraphLayout\n{\n    return self.rootSubtreeView.needsGraphLayout;\n}\n\n- (void) setNeedsGraphLayout\n{\n    [self.rootSubtreeView recursiveSetNeedsGraphLayout];\n}\n\n- (void) collapseRoot\n{\n    [self.rootSubtreeView setExpanded:NO];\n}\n\n- (void) expandRoot\n{\n    [self.rootSubtreeView setExpanded:YES];\n}\n\n- (IBAction) toggleExpansionOfSelectedModelNodes:(id)sender\n{\n    for (id <PSTreeGraphModelNode> modelNode in self.selectedModelNodes) {\n        PSBaseSubtreeView *subtreeView = [self subtreeViewForModelNode:modelNode];\n        [subtreeView toggleExpansion:sender];\n    }\n}\n\n\n#pragma mark - Scrolling\n\n- (CGRect) boundsOfModelNodes:(NSSet *)modelNodes\n{\n    CGRect boundingBox = CGRectZero;\n    BOOL   firstNodeFound = NO;\n    for (id <PSTreeGraphModelNode> modelNode in modelNodes) {\n        PSBaseSubtreeView *subtreeView = [self subtreeViewForModelNode:modelNode];\n        if ( subtreeView && (subtreeView.hidden == NO) ) {\n            UIView *nodeView = subtreeView.nodeView;\n            if (nodeView) {\n                CGRect rect = [self convertRect:nodeView.bounds fromView:nodeView];\n\n                if (!firstNodeFound) {\n                    // The first node found gives us the starting boundingBox, after\n                    // that we take the take union of each successive node.\n                    boundingBox = rect;\n                    firstNodeFound = YES;\n                } else {\n                    boundingBox = CGRectUnion(boundingBox, rect);\n                }\n            }\n        }\n    }\n\n    return boundingBox;\n}\n\n- (void) scrollModelNodesToVisible:(NSSet *)modelNodes animated:(BOOL)animated\n{\n    CGRect targetRect = [self boundsOfModelNodes:modelNodes];\n    if (!CGRectIsEmpty(targetRect)) {\n        CGFloat padding = self.contentMargin;\n\n\t\tUIScrollView *parentScroll = (UIScrollView *)self.superview;\n\n\t\tif ( parentScroll && [parentScroll isKindOfClass:[UIScrollView class]] ) {\n            targetRect = CGRectInset(targetRect, -padding, -padding);\n//            NSLog(@\"Scrolling to target rect: %@\", NSStringFromCGRect(targetRect) );\n\t\t\t[parentScroll scrollRectToVisible:targetRect animated:animated];\n\t\t}\n    }\n}\n\n- (void) scrollSelectedModelNodesToVisibleAnimated:(BOOL)animated\n{\n    [self scrollModelNodesToVisible:self.selectedModelNodes animated:animated];\n}\n\n\n#pragma mark - Data Source\n\n- (void) setModelRoot:(id <PSTreeGraphModelNode> )newModelRoot\n{\n    NSParameterAssert(newModelRoot == nil || [newModelRoot conformsToProtocol:@protocol(PSTreeGraphModelNode)]);\n\n    if ( _modelRoot != newModelRoot ) {\n        PSBaseSubtreeView *rootSubtreeView = self.rootSubtreeView;\n        [rootSubtreeView removeFromSuperview];\n        [_modelNodeToSubtreeViewMapTable removeAllObjects];\n\n        // Discard any previous selection.\n        self.selectedModelNodes = [NSSet set];\n\n        // Switch to new modelRoot.\n        _modelRoot = newModelRoot;\n\n        // Discard and reload content.\n        [self buildGraph];\n        [self setNeedsDisplay];\n        [self.rootSubtreeView resursiveSetSubtreeBordersNeedDisplay];\n        [self layoutGraphIfNeeded];\n\n        // Start with modelRoot selected.\n        if ( _modelRoot ) {\n            self.selectedModelNodes = [NSSet setWithObject:_modelRoot];\n            [self scrollSelectedModelNodesToVisibleAnimated:NO];\n        }\n    }\n}\n\n\n#pragma mark - NSCoding\n\n- (void) encodeWithCoder:(NSCoder *)encoder\n{\n    [super encodeWithCoder:encoder];\n    [encoder encodeBool:_animatesLayout forKey:@\"animatesLayout\"];\n    [encoder encodeFloat:_contentMargin forKey:@\"contentMargin\"];\n    [encoder encodeFloat:_parentChildSpacing forKey:@\"parentChildSpacing\"];\n    [encoder encodeFloat:_siblingSpacing forKey:@\"siblingSpacing\"];\n    [encoder encodeBool:_resizesToFillEnclosingScrollView forKey:@\"resizesToFillEnclosingScrollView\"];\n    [encoder encodeObject:_connectingLineColor forKey:@\"connectingLineColor\"];\n    [encoder encodeFloat:_connectingLineWidth forKey:@\"connectingLineWidth\"];\n    \n    [encoder encodeInt:_treeGraphOrientation forKey:@\"treeGraphOrientation\"];\n    [encoder encodeInt:_connectingLineStyle forKey:@\"connectingLineStyle\"];\n}\n\n- (instancetype) initWithCoder:(NSCoder *)decoder\n{\n    self = [super initWithCoder:decoder];\n    if (self) {\n        \n        [self configureDefaults];\n        \n        if ([decoder containsValueForKey:@\"animatesLayout\"])\n            _animatesLayout = [decoder decodeBoolForKey:@\"animatesLayout\"];\n        if ([decoder containsValueForKey:@\"contentMargin\"])\n            _contentMargin = [decoder decodeFloatForKey:@\"contentMargin\"];\n        if ([decoder containsValueForKey:@\"parentChildSpacing\"])\n            _parentChildSpacing = [decoder decodeFloatForKey:@\"parentChildSpacing\"];\n        if ([decoder containsValueForKey:@\"siblingSpacing\"])\n            _siblingSpacing = [decoder decodeFloatForKey:@\"siblingSpacing\"];\n        if ([decoder containsValueForKey:@\"resizesToFillEnclosingScrollView\"])\n            _resizesToFillEnclosingScrollView = [decoder decodeBoolForKey:@\"resizesToFillEnclosingScrollView\"];\n        if ([decoder containsValueForKey:@\"connectingLineColor\"])\n            _connectingLineColor = [decoder decodeObjectForKey:@\"connectingLineColor\"];\n        if ([decoder containsValueForKey:@\"connectingLineWidth\"])\n            _connectingLineWidth = [decoder decodeFloatForKey:@\"connectingLineWidth\"];\n        \n        if ([decoder containsValueForKey:@\"treeGraphOrientation\"])\n            _treeGraphOrientation = [decoder decodeIntForKey:@\"treeGraphOrientation\"];\n        if ([decoder containsValueForKey:@\"connectingLineStyle\"])\n            _connectingLineStyle = [decoder decodeIntForKey:@\"connectingLineStyle\"];\n    }\n    return self;\n}\n\n\n#pragma mark - Node Hit-Testing\n\n// Returns the model node under the given point, which must be expressed in the\n// TreeGraph's interior (bounds) coordinate space.  If there is a collapsed subtree at the\n// given point, returns the model node at the root of the collapsed subtree.  If there is\n// no model node at the given point, returns nil.\n\n- (id <PSTreeGraphModelNode> ) modelNodeAtPoint:(CGPoint)p\n{\n    // Since we've composed our content using views (SubtreeViews and enclosed nodeViews),\n    // we can use UIView's -hitTest: method to easily identify our deepest descendant view\n    // under the given point. We rely on the front-to-back order of hit-testing to ensure\n    // that we return the root of a collapsed subtree, instead of one of its descendant nodes.\n    // (To do this, we must make sure, when collapsing a subtree, to keep the SubtreeView's\n    // nodeView frontmost among its siblings.)\n\n    PSBaseSubtreeView *rootSubtreeView = self.rootSubtreeView;\n    CGPoint subviewPoint = [self convertPoint:p toView:rootSubtreeView];\n    id <PSTreeGraphModelNode> hitModelNode = [self.rootSubtreeView modelNodeAtPoint:subviewPoint];\n\n    return hitModelNode;\n}\n\n\n#pragma mark - Input and Navigation\n\n- (BOOL) canBecomeFirstResponder\n{\n    // Make TreeGraphs able to -canBecomeFirstResponder, so they can receive key events.\n    return YES;\n}\n\n-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event\n{\n    UITouch *touch = [touches anyObject];\n    CGPoint viewPoint = [touch locationInView:self];\n\n    // Identify the mdoel node (if any) that the user clicked, and make it the new selection.\n    id <PSTreeGraphModelNode>  hitModelNode = [self modelNodeAtPoint:viewPoint];\n    self.selectedModelNodes = (hitModelNode ? [NSSet setWithObject:hitModelNode] : [NSSet set]);\n\n    // Respond to touch and become first responder.\n    [self becomeFirstResponder];\n}\n\n- (void) moveToSiblingByRelativeIndex:(NSInteger)relativeIndex\n{\n    id <PSTreeGraphModelNode> modelNode = self.singleSelectedModelNode;\n    if (modelNode) {\n        id <PSTreeGraphModelNode> sibling = [self siblingOfModelNode:modelNode atRelativeIndex:relativeIndex];\n        if (sibling) {\n            self.selectedModelNodes = [NSSet setWithObject:sibling];\n        }\n    } else if (self.selectedModelNodes.count == 0) {\n        // If nothing selected, select root.\n        self.selectedModelNodes = (self.modelRoot ? [NSSet setWithObject:self.modelRoot] : nil);\n    }\n\n    // Scroll new selection to visible.\n    [self scrollSelectedModelNodesToVisibleAnimated:YES];\n}\n\n- (IBAction) moveToParent:(id)sender\n{\n    id <PSTreeGraphModelNode> modelNode = self.singleSelectedModelNode;\n    if (modelNode) {\n        if (modelNode != self.modelRoot) {\n            id <PSTreeGraphModelNode> parent = [modelNode parentModelNode];\n            if (parent) {\n                self.selectedModelNodes = [NSSet setWithObject:parent];\n            }\n        }\n    } else if (self.selectedModelNodes.count == 0) {\n        // If nothing selected, select root.\n        self.selectedModelNodes = (self.modelRoot ? [NSSet setWithObject:self.modelRoot] : nil);\n    }\n\n    // Scroll new selection to visible.\n    [self scrollSelectedModelNodesToVisibleAnimated:YES];\n}\n\n- (IBAction) moveToNearestChild:(id)sender\n{\n    id <PSTreeGraphModelNode> modelNode = self.singleSelectedModelNode;\n    if (modelNode) {\n        PSBaseSubtreeView *subtreeView = [self subtreeViewForModelNode:modelNode];\n        if (subtreeView && subtreeView.expanded) {\n            UIView *nodeView = subtreeView.nodeView;\n            if (nodeView) {\n                CGRect nodeViewFrame = nodeView.frame;\n                id <PSTreeGraphModelNode> nearestChild = nil;\n                if (( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontal ) ||\n                    ( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontalFlipped )){\n                    nearestChild = [subtreeView modelNodeClosestToY:CGRectGetMidY(nodeViewFrame)];\n                } else {\n                    nearestChild = [subtreeView modelNodeClosestToX:CGRectGetMidX(nodeViewFrame)];\n                }\n                if (nearestChild != nil) {\n                    self.selectedModelNodes = [NSSet setWithObject:nearestChild];\n                }\n            }\n        }\n    } else if (self.selectedModelNodes.count == 0) {\n        // If nothing selected, select root.\n        self.selectedModelNodes = (self.modelRoot ? [NSSet setWithObject:self.modelRoot] : nil);\n    }\n\n    // Scroll new selection to visible.\n    [self scrollSelectedModelNodesToVisibleAnimated:YES];\n}\n\n- (void) moveUp:(id)sender\n{\n    if (( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontal ) ||\n        ( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontalFlipped )){\n        [self moveToSiblingByRelativeIndex:1];\n    } else {\n        [self moveToParent:sender];\n    }\n\n}\n\n- (void) moveDown:(id)sender\n{\n    if (( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontal ) ||\n        ( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontalFlipped )){\n        [self moveToSiblingByRelativeIndex:-1];\n    } else {\n        [self moveToNearestChild:sender];\n    }\n\n}\n\n- (void) moveLeft:(id)sender\n{\n    if (( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontal ) ||\n        ( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontalFlipped )){\n        [self moveToParent:sender];\n    } else {\n        [self moveToSiblingByRelativeIndex:1];\n    }\n\n}\n\n- (void) moveRight:(id)sender\n{\n    if (( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontal ) ||\n        ( self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontalFlipped )){\n        [self moveToNearestChild:sender];\n    } else {\n        [self moveToSiblingByRelativeIndex:-1];\n    }\n\n}\n\n\n#pragma mark UIKeyInput Protocol Methods\n\n- (BOOL) hasText\n{\n    if ( self.modelRoot != nil ) {\n        return YES;\n    }\n    return NO;\n}\n\n- (void) insertText:(NSString *)theText\n{\n    // Hardware keyboard, desktop keyboard in simulator support.\n    if (theText && theText.length > 0) {\n        switch ([theText characterAtIndex:0]) {\n            case ' ':\n                [self toggleExpansionOfSelectedModelNodes:self];\n                break;\n            case 'w':\n                if (self.treeGraphOrientation == PSTreeGraphOrientationStyleVerticalFlipped ) {\n                    [self moveDown:self];\n                } else {\n                    [self moveUp:self];\n                }\n                break;\n            case 'a':\n                if (self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontalFlipped ) {\n                    [self moveRight:self];\n                } else {\n                    [self moveLeft:self];\n                }\n                break;\n            case 's':\n                if (self.treeGraphOrientation == PSTreeGraphOrientationStyleVerticalFlipped ) {\n                    [self moveUp:self];\n                } else {\n                    [self moveDown:self];\n                }\n                break;\n            case 'd':\n                if (self.treeGraphOrientation == PSTreeGraphOrientationStyleHorizontalFlipped ) {\n                    [self moveLeft:self];\n                } else {\n                    [self moveRight:self];\n                }\n                break;\n\n            default:\n                // Input from keyboard or other device not handled.\n                break;\n        }\n    }\n}\n\n- (void) deleteBackward\n{\n    [self moveLeft:nil];\n}\n\n\n#pragma mark - Gesture Event Handling\n\n//- (void) beginGestureWithEvent:(NSEvent *)event {\n//    // Temporarily suspend layout animations during handling of a gesture sequence.\n//    [self setLayoutAnimationSuppressed:YES];\n//}\n//\n//- (void) endGestureWithEvent:(NSEvent *)event {\n//    // Re-enable layout animations at the end of a gesture sequence.\n//    [self setLayoutAnimationSuppressed:NO];\n//}\n//\n//- (void) magnifyWithEvent:(NSEvent *)event {\n//    CGFloat spacing = [self parentChildSpacing];\n//    spacing = spacing * (1.0 + [event magnification]);\n//    [self setParentChildSpacing:spacing];\n//}\n//\n//- (void) swipeWithEvent:(NSEvent *)event {\n//    // Expand or collapse the entire tree according to the direction of the swipe.\n//    // (An alternative behavior might be to identify node under mouse, and\n//    // collapse/expand that instead of root node.)\n//\n//    CGFloat deltaX = [event deltaX];\n//    if (deltaX < 0.0) {\n//        // Swipe was to the right.\n//        [self expandRoot];\n//    } else if (deltaX > 0.0) {\n//        // Swipe was to the left.\n//        [self collapseRoot];\n//    }\n//}\n\n\n@end\n\n\n#pragma mark -\n@implementation PSBaseTreeGraphView (Internal)\n\n\n#pragma mark - ModelNode -> SubtreeView Relationship Management\n\n- (PSBaseSubtreeView *) subtreeViewForModelNode:(id)modelNode\n{\n    return _modelNodeToSubtreeViewMapTable[modelNode];\n}\n\n- (void) setSubtreeView:(PSBaseSubtreeView *)subtreeView forModelNode:(id)modelNode\n{\n    _modelNodeToSubtreeViewMapTable[modelNode] = subtreeView;\n}\n\n\n#pragma mark - Model Tree Navigation\n\n- (BOOL) modelNode:(id <PSTreeGraphModelNode> )modelNode\n    isDescendantOf:(id <PSTreeGraphModelNode> )possibleAncestor\n{\n    NSParameterAssert(modelNode != nil);\n    NSParameterAssert(possibleAncestor != nil);\n\n    id <PSTreeGraphModelNode> node = [modelNode parentModelNode];\n    while (node != nil) {\n        if (node == possibleAncestor) {\n            return YES;\n        }\n        node = [node parentModelNode];\n    }\n    return NO;\n}\n\n- (BOOL) modelNodeIsInAssignedTree:(id <PSTreeGraphModelNode> )modelNode\n{\n    NSParameterAssert(modelNode != nil);\n\n    id <PSTreeGraphModelNode> root = self.modelRoot;\n    return (modelNode == root || [self modelNode:modelNode isDescendantOf:root]) ? YES : NO;\n}\n\n- (id <PSTreeGraphModelNode> ) siblingOfModelNode:(id <PSTreeGraphModelNode> )modelNode\n                                  atRelativeIndex:(NSInteger)relativeIndex\n{\n    NSParameterAssert(modelNode != nil);\n    NSAssert([self modelNodeIsInAssignedTree:modelNode], @\"modelNode is not in the tree\");\n\n    if (modelNode == self.modelRoot) {\n        // modelNode is modelRoot.  Disallow traversal to its siblings (if it has any).\n        return nil;\n    } else {\n        // modelNode is a descendant of modelRoot.\n        // Find modelNode's position in its parent node's array of children.\n        id <PSTreeGraphModelNode> parent = [modelNode parentModelNode];\n        NSArray *siblings = [parent childModelNodes];\n\n        NSAssert(siblings != nil,\n                 @\"childModelNodes should return an empty array ([NSArray array]), not nil.\");\n\n        if (siblings != nil) {\n            NSInteger index = [siblings indexOfObject:modelNode];\n            if (index != NSNotFound) {\n                index += relativeIndex;\n                if (index >= 0 && index < siblings.count) {\n                    return siblings[index];\n                }\n            }\n        }\n        return nil;\n    }\n}\n\n\n@end"
  },
  {
    "path": "PSTreeGraphView/PSBaseTreeGraphView_Internal.h",
    "content": "//\n//  PSBaseTreeGraphView_Internal.h\n//  PSTreeGraphView\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright 2010 Preston Software. All rights reserved.\n//\n//\n//  This is a port of the sample code from Max OS X to iOS (iPad).\n//\n//  WWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n//\n\n\n#import <Foundation/Foundation.h>\n\n#import \"PSTreeGraphModelNode.h\"\n\n@class PSBaseSubtreeView;\n\n// This category declares \"Internal\" methods that make up part of TreeGraph's\n// implementation, but aren't intended to be used as TreeGraph API.\n\n@interface PSBaseTreeGraphView (Internal)\n\n\n#pragma mark - ModelNode -> SubtreeView Relationship Management\n\n// Returns the SubtreeView that corresponds to the specified modelNode, as\n// tracked by the TreeGraph's modelNodeToSubtreeViewMapTable.\n\n- (PSBaseSubtreeView *) subtreeViewForModelNode:(id)modelNode;\n\n// Associates the specified subtreeView with the given modelNode in the TreeGraph's\n// modelNodeToSubtreeViewMapTable, so that it can later be looked up using -subtreeViewForModelNode:\n\n- (void) setSubtreeView:(PSBaseSubtreeView *)subtreeView\n           forModelNode:(id)modelNode;\n\n\n#pragma mark - Model Tree Navigation\n\n// Returns YES if modelNode is a descendant of possibleAncestor, NO if not.\n//\n// Neither modelNode or possibleAncestor should be nil.\n\n- (BOOL) modelNode:(id <PSTreeGraphModelNode> )modelNode\n    isDescendantOf:(id <PSTreeGraphModelNode> )possibleAncestor;\n\n// Returns YES if modelNode is the TreeGraph's assigned modelRoot, or a descendant of modelRoot.\n//\n// Returns NO if not.  TreeGraph uses this determination to avoid traversing nodes above its\n// assigned modelRoot (if there are any).\n//\n// modelNode should not be nil.\n\n- (BOOL) modelNodeIsInAssignedTree:(id <PSTreeGraphModelNode> )modelNode;\n\n// Returns the sibling at the given offset relative to the given modelNode.\n// (e.g. relativeIndex == -1 requests the previous sibling. relativeIndex == +1 requests the next sibling.)\n//\n// Returns nil if the modelNode has no sibling at the specified relativeIndex (resultant index out of bounds).\n//\n// This method won't go above the subtree defined by the TreeGraph's modelRoot.\n// (That is: If the given modelNode is the TreeGraph's modelRoot, this method returns nil, even if\n// the requested sibling exists.)\n//\n// Checks modelNode is nil, or if modelNode is not within the subtree assigned to the TreeGraph.\n//\n\n- (id<PSTreeGraphModelNode>) siblingOfModelNode:(id <PSTreeGraphModelNode> )modelNode\n                                atRelativeIndex:(NSInteger)relativeIndex;\n\n\n#pragma mark - Node View Nib Caching\n\n//* NOT SUPPORTED ON iOS 3.2*\n\n// Returns an UINib instance created from the TreeGraphs's nodeViewNibName.\n// We automatically let go of the cachedNodeViewNib when this property changes.\n// Keeping a cached UINib instance helps speed up repeated instantiation of node views.\n\n@property (nonatomic, retain) UINib *cachedNodeViewNib;\n\n@end\n"
  },
  {
    "path": "PSTreeGraphView/PSTreeGraphDelegate.h",
    "content": "//\n//  PSTreeGraphDelegate.h\n//  PSTreeGraphView\n//\n//  Created by Ed Preston on 9/08/12.\n//  Copyright (c) 2012 Preston Software. All rights reserved.\n//\n//\n//  This is a port of the sample code from Max OS X to iOS (iPad).\n//\n//  WWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n//\n\n\n#import <Foundation/Foundation.h>\n\n// Forward declaration of Model Node\n\n@protocol PSTreeGraphModelNode;\n\n\n@protocol PSTreeGraphDelegate <NSObject>\n\n@required\n\n/// The delegate will configure the nodeView with the modelNode provided.\n\n- (void) configureNodeView:(UIView *)nodeView withModelNode:(id <PSTreeGraphModelNode> )modelNode;\n\n@end"
  },
  {
    "path": "PSTreeGraphView/PSTreeGraphModelNode.h",
    "content": "//\n//  PSTreeGraphModelNode.h\n//  PSTreeGraphView\n//\n//  Created by Ed Preston on 7/25/10.\n//  Copyright 2010 Preston Software. All rights reserved.\n//\n//\n//  This is a port of the sample code from Max OS X to iOS (iPad).\n//\n//  WWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n//\n\n\n#import <Foundation/Foundation.h>\n\n/// The model nodes used with a TreeGraph are required to conform to the this protocol,\n/// which enables the TreeGraph to navigate the model tree to find related nodes.\n\n@protocol PSTreeGraphModelNode <NSObject>\n\n@required\n\n/// @return The model node's parent node, or nil if it doesn't have a parent node.\n\n- (id <PSTreeGraphModelNode> )parentModelNode;\n\n/// @return The model node's child nodes.\n///\n/// @note If the node has no children, this should return an empty array\n/// ([NSArray array]), not nil.\n\n- (NSArray *) childModelNodes;\n\n@end"
  },
  {
    "path": "README.md",
    "content": "# PSTreeGraph\n\n[![Build Status](https://travis-ci.org/epreston/PSTreeGraph.png?branch=master)](https://travis-ci.org/epreston/PSTreeGraph)\n\nPSTreeGraph is a treegraph view control implementation for Cocoa Touch.\n\nThis is a port of the sample code from Max OS X to iOS (iPad). \nWWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n\n![](http://farm7.static.flickr.com/6193/6055022105_ab831b2d8e.jpg)\n\n\n# Example Project\n\nThere is an iPad example application to demonstrate the features of PSTreeGraph.\n\n\n# Status\n\nPSTreeGraph should be considered an viable solution for displaying single parent tree data in an interactive hierarchy.  The \"ARC\" branch contains the automatic reference counting compatible code base.  In the very near future, this will be merged with \"master\", non \"ARC\" code will be frozen at the 1.0 release.  Those looking for a reference counted implementation should look for a \"Non ARC 1.0\" branch.\n\nThis project follows the [SemVer](http://semver.org/) standard. The API may change in backwards-incompatible ways before the 1.0 release.\n\nThe goal of PSTreeGraph is to build a high-quality UI control designed specifically for the iPad.  The inspiration / structure comes from WWDC 2010 Session 141, “Crafting Custom Cocoa Views”, an extremely valuable and informative presentation that has proven to be applicable (see this project) to other platforms.\n\n\n# Getting Started\n\nSee [Wiki](https://github.com/epreston/PSTreeGraph/wiki).\n\nUseful information can also be found in the issues log. The following discussions might be helpful. If you can't find what you are looking for, start a new topic.\n\n* [Display hierarchical data from xml or json](https://github.com/epreston/PSTreeGraph/issues/9)\n* [Can you select arbitrary nodes?](https://github.com/epreston/PSTreeGraph/issues/5)\n* [Customizing the leaf view](https://github.com/epreston/PSTreeGraph/issues/7)\n\n\n# Known Improvements\n\nSee [Milestones](https://github.com/epreston/PSTreeGraph/issues/milestones?with_issues=no).\n\nThere are many places where PSTreeGraph could be improved:\n\n* Use GCD to load model data asyncronously.  This control uses a simple protocol implemented by each node in the data model so the control can walk the tree. This can be loaded asynchronously to avoid blocking the main thread when displaying large graphs.\n\n* Cache the bezier path used to render lines in each subtree.  The bezier path used to render the lines between each node in the graph can be cached to improve performance.\n\n* Use CATiledLayer to support much larger graphs.  Investigate using a CATiledLayer to further reduce drawing and memory usage, support scaling, etc. This feature will make it possible support graphs of unlimited size and scale. Rendering time and resource usage would be constant regardless of the number of nodes in the graph.\n\n\n# Documentation\n\nYou can generate documentation with [doxygen](http://www.doxygen.org). The example project includes a documentation build target to do this within Xcode.    For more details, see the [Documentation](https://github.com/epreston/PSTreeGraph/wiki/Documentation) page in this projects wiki.\n\n## Contribute\n\nIf you'd like to contribute to PSTreeGraph, start by forking this repository on GitHub:\n\n       http://github.com/epreston/PSTreeGraph\n\nThe best way to get your changes merged back into core is as follows:\n\n1. Clone down your fork\n2. Create a thoughtfully named topic branch to contain your change\n3. Hack away\n4. Add tests and make sure everything still passes\n5. If you are adding new functionality, document it in the README\n6. Do not change the version number, I will do that on my end\n7. If necessary, rebase your commits into logical chunks, without errors\n8. Push the branch up to GitHub\n9. Send a pull request to the epreston/PSTreeGraph project.\n\nOr better still, [donate] (http://epreston.github.com/PSTreeGraph/) via the [project website] (http://epreston.github.com/PSTreeGraph/).\n\n\n# Copyright and License\n\nCopyright 2012 Preston Software.\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this work except in compliance with the License.\n   You may obtain a copy of the License in the LICENSE file, or at:\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n\n\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/epreston/pstreegraph/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraph/PSTTreeGraph-Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleDisplayName</key>\n\t<string>${PRODUCT_NAME}</string>\n\t<key>CFBundleExecutable</key>\n\t<string>${EXECUTABLE_NAME}</string>\n\t<key>CFBundleIconFile</key>\n\t<string></string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>${PRODUCT_NAME}</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1.0</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>NSMainNibFile</key>\n\t<string>MainWindow</string>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraph/PSTTreeGraph-Prefix.pch",
    "content": "//\n// Prefix header for all source files of the 'PSTTreeGraph' target in the 'PSTTreeGraph' project\n//\n\n#import <Availability.h>\n\n#ifndef __IPHONE_3_0\n#warning \"This project uses features only available in iPhone SDK 3.0 and later.\"\n#endif\n\n#ifdef __OBJC__\n    #import <UIKit/UIKit.h>\n    #import <Foundation/Foundation.h>\n#endif\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraph/PSTTreeGraphAppDelegate.h",
    "content": "//\n//  PSTTreeGraphAppDelegate.h\n//  PSTTreeGraph\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@class PSTTreeGraphViewController;\n\n@interface PSTTreeGraphAppDelegate : NSObject <UIApplicationDelegate>\n\n@property (nonatomic, retain) IBOutlet UIWindow *window;\n@property (nonatomic, retain) IBOutlet PSTTreeGraphViewController *viewController;\n\n@end\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraph/PSTTreeGraphAppDelegate.m",
    "content": "//\n//  PSTTreeGraphAppDelegate.m\n//  PSTTreeGraph\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import \"PSTTreeGraphAppDelegate.h\"\n\n#import \"PSTTreeGraphViewController.h\"\n\n@implementation PSTTreeGraphAppDelegate\n\n\n- (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n    // Override point for customization after application launch.\n    [_window setRootViewController:_viewController];\n    [_window addSubview:_viewController.view];\n    [_window makeKeyAndVisible];\n    \n    return YES;\n}\n\n@end\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraph/PSTTreeGraphViewController.h",
    "content": "//\n//  PSTTreeGraphViewController.h\n//  PSTTreeGraph\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface PSTTreeGraphViewController : UIViewController\n\n@end\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraph/PSTTreeGraphViewController.m",
    "content": "//\n//  PSTTreeGraphViewController.m\n//  PSTTreeGraph\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import \"PSTTreeGraphViewController.h\"\n\n@implementation PSTTreeGraphViewController\n\n\n#pragma mark - View lifecycle\n\n/*\n// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.\n- (void)viewDidLoad\n{\n    [super viewDidLoad];\n}\n*/\n\n#pragma mark - View Creation and Initializer\n\n- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation\n{\n    // Return YES for supported orientations\n    return YES;\n}\n\n\n#pragma mark - Resouce Management\n\n- (void) didReceiveMemoryWarning\n{\n    // Releases the view if it doesn't have a superview.\n    [super didReceiveMemoryWarning];\n    \n    // Release any cached data, images, etc that aren't in use.\n}\n\n- (void) viewDidUnload\n{\n    // Depricated in iOS 6.0  -  This method is never called.\n    \n    [super viewDidUnload];\n}\n\n@end\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraph/en.lproj/InfoPlist.strings",
    "content": "/* Localized versions of Info.plist keys */\n\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraph/en.lproj/MainWindow.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB\" version=\"3.0\" toolsVersion=\"8191\" systemVersion=\"14F27\" targetRuntime=\"iOS.CocoaTouch.iPad\" propertyAccessControl=\"none\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"8154\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\" customClass=\"UIApplication\">\n            <connections>\n                <outlet property=\"delegate\" destination=\"6\" id=\"9\"/>\n            </connections>\n        </placeholder>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <window opaque=\"NO\" clearsContextBeforeDrawing=\"NO\" contentMode=\"scaleToFill\" id=\"2\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"768\" height=\"1024\"/>\n            <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n            <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n        </window>\n        <customObject id=\"6\" userLabel=\"PSTTreeGraph App Delegate\" customClass=\"PSTTreeGraphAppDelegate\">\n            <connections>\n                <outlet property=\"viewController\" destination=\"7\" id=\"8\"/>\n                <outlet property=\"window\" destination=\"2\" id=\"10\"/>\n            </connections>\n        </customObject>\n        <viewController nibName=\"PSTTreeGraphViewController\" id=\"7\" customClass=\"PSTTreeGraphViewController\">\n            <extendedEdge key=\"edgesForExtendedLayout\"/>\n            <simulatedOrientationMetrics key=\"simulatedOrientationMetrics\"/>\n        </viewController>\n    </objects>\n</document>\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraph/en.lproj/PSTTreeGraphViewController.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB\" version=\"3.0\" toolsVersion=\"8191\" systemVersion=\"14F27\" targetRuntime=\"iOS.CocoaTouch.iPad\" propertyAccessControl=\"none\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"8154\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\" customClass=\"PSTTreeGraphViewController\">\n            <connections>\n                <outlet property=\"view\" destination=\"2\" id=\"3\"/>\n            </connections>\n        </placeholder>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"2\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"768\" height=\"1024\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraph/main.m",
    "content": "//\n//  main.m\n//  PSTTreeGraph\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#import \"PSTTreeGraphAppDelegate.h\"\n\nint main(int argc, char *argv[])\n{\n    @autoreleasepool {\n        return UIApplicationMain(argc, argv, nil, NSStringFromClass([PSTTreeGraphAppDelegate class]));\n    }\n}\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraph.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t4F1FC8401407441500C343D9 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC83F1407441500C343D9 /* UIKit.framework */; };\n\t\t4F1FC8421407441500C343D9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8411407441500C343D9 /* Foundation.framework */; };\n\t\t4F1FC8441407441500C343D9 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8431407441500C343D9 /* CoreGraphics.framework */; };\n\t\t4F1FC84A1407441500C343D9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC8481407441500C343D9 /* InfoPlist.strings */; };\n\t\t4F1FC84C1407441500C343D9 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC84B1407441500C343D9 /* main.m */; };\n\t\t4F1FC8501407441600C343D9 /* PSTTreeGraphAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC84F1407441600C343D9 /* PSTTreeGraphAppDelegate.m */; };\n\t\t4F1FC8531407441600C343D9 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC8511407441600C343D9 /* MainWindow.xib */; };\n\t\t4F1FC8561407441600C343D9 /* PSTTreeGraphViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC8551407441600C343D9 /* PSTTreeGraphViewController.m */; };\n\t\t4F1FC8591407441600C343D9 /* PSTTreeGraphViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC8571407441600C343D9 /* PSTTreeGraphViewController.xib */; };\n\t\t4F1FC8621407441600C343D9 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC83F1407441500C343D9 /* UIKit.framework */; };\n\t\t4F1FC8631407441600C343D9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8411407441500C343D9 /* Foundation.framework */; };\n\t\t4F1FC8641407441600C343D9 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1FC8431407441500C343D9 /* CoreGraphics.framework */; };\n\t\t4F1FC86C1407441600C343D9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4F1FC86A1407441600C343D9 /* InfoPlist.strings */; };\n\t\t4F1FC89714074E3300C343D9 /* PSBaseBranchView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC88E14074E3300C343D9 /* PSBaseBranchView.m */; };\n\t\t4F1FC89814074E3300C343D9 /* PSBaseLeafView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC89014074E3300C343D9 /* PSBaseLeafView.m */; };\n\t\t4F1FC89914074E3300C343D9 /* PSBaseSubtreeView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC89214074E3300C343D9 /* PSBaseSubtreeView.m */; };\n\t\t4F1FC89A14074E3300C343D9 /* PSBaseTreeGraphView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC89414074E3300C343D9 /* PSBaseTreeGraphView.m */; };\n\t\t4F1FC8B3140755CD00C343D9 /* BranchTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC8AC140755CD00C343D9 /* BranchTests.m */; };\n\t\t4F1FC8B4140755CD00C343D9 /* GraphTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC8AE140755CD00C343D9 /* GraphTests.m */; };\n\t\t4F1FC8B5140755CD00C343D9 /* LeafTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC8B0140755CD00C343D9 /* LeafTests.m */; };\n\t\t4F1FC8B6140755CD00C343D9 /* SubTreeTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1FC8B2140755CD00C343D9 /* SubTreeTests.m */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t4F1FC8651407441600C343D9 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 4F1FC8321407441500C343D9 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 4F1FC83A1407441500C343D9;\n\t\t\tremoteInfo = PSTTreeGraph;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t4F1FC83B1407441500C343D9 /* PSTTreeGraph.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PSTTreeGraph.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t4F1FC83F1407441500C343D9 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };\n\t\t4F1FC8411407441500C343D9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };\n\t\t4F1FC8431407441500C343D9 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };\n\t\t4F1FC8471407441500C343D9 /* PSTTreeGraph-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = \"PSTTreeGraph-Info.plist\"; sourceTree = \"<group>\"; };\n\t\t4F1FC8491407441500C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = \"<group>\"; };\n\t\t4F1FC84B1407441500C343D9 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = \"<group>\"; };\n\t\t4F1FC84D1407441600C343D9 /* PSTTreeGraph-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = \"PSTTreeGraph-Prefix.pch\"; sourceTree = \"<group>\"; };\n\t\t4F1FC84E1407441600C343D9 /* PSTTreeGraphAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PSTTreeGraphAppDelegate.h; sourceTree = \"<group>\"; };\n\t\t4F1FC84F1407441600C343D9 /* PSTTreeGraphAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PSTTreeGraphAppDelegate.m; sourceTree = \"<group>\"; };\n\t\t4F1FC8521407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainWindow.xib; sourceTree = \"<group>\"; };\n\t\t4F1FC8541407441600C343D9 /* PSTTreeGraphViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PSTTreeGraphViewController.h; sourceTree = \"<group>\"; };\n\t\t4F1FC8551407441600C343D9 /* PSTTreeGraphViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PSTTreeGraphViewController.m; sourceTree = \"<group>\"; };\n\t\t4F1FC8581407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/PSTTreeGraphViewController.xib; sourceTree = \"<group>\"; };\n\t\t4F1FC85F1407441600C343D9 /* PSTTreeGraphTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PSTTreeGraphTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t4F1FC8691407441600C343D9 /* PSTTreeGraphTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = \"PSTTreeGraphTests-Info.plist\"; sourceTree = \"<group>\"; };\n\t\t4F1FC86B1407441600C343D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = \"<group>\"; };\n\t\t4F1FC88D14074E3300C343D9 /* PSBaseBranchView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseBranchView.h; sourceTree = \"<group>\"; };\n\t\t4F1FC88E14074E3300C343D9 /* PSBaseBranchView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PSBaseBranchView.m; sourceTree = \"<group>\"; };\n\t\t4F1FC88F14074E3300C343D9 /* PSBaseLeafView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseLeafView.h; sourceTree = \"<group>\"; };\n\t\t4F1FC89014074E3300C343D9 /* PSBaseLeafView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PSBaseLeafView.m; sourceTree = \"<group>\"; };\n\t\t4F1FC89114074E3300C343D9 /* PSBaseSubtreeView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseSubtreeView.h; sourceTree = \"<group>\"; };\n\t\t4F1FC89214074E3300C343D9 /* PSBaseSubtreeView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PSBaseSubtreeView.m; sourceTree = \"<group>\"; };\n\t\t4F1FC89314074E3300C343D9 /* PSBaseTreeGraphView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseTreeGraphView.h; sourceTree = \"<group>\"; };\n\t\t4F1FC89414074E3300C343D9 /* PSBaseTreeGraphView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PSBaseTreeGraphView.m; sourceTree = \"<group>\"; };\n\t\t4F1FC89514074E3300C343D9 /* PSBaseTreeGraphView_Internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSBaseTreeGraphView_Internal.h; sourceTree = \"<group>\"; };\n\t\t4F1FC89614074E3300C343D9 /* PSTreeGraphModelNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PSTreeGraphModelNode.h; sourceTree = \"<group>\"; };\n\t\t4F1FC8AB140755CD00C343D9 /* BranchTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BranchTests.h; sourceTree = \"<group>\"; };\n\t\t4F1FC8AC140755CD00C343D9 /* BranchTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BranchTests.m; sourceTree = \"<group>\"; };\n\t\t4F1FC8AD140755CD00C343D9 /* GraphTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GraphTests.h; sourceTree = \"<group>\"; };\n\t\t4F1FC8AE140755CD00C343D9 /* GraphTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GraphTests.m; sourceTree = \"<group>\"; };\n\t\t4F1FC8AF140755CD00C343D9 /* LeafTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LeafTests.h; sourceTree = \"<group>\"; };\n\t\t4F1FC8B0140755CD00C343D9 /* LeafTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LeafTests.m; sourceTree = \"<group>\"; };\n\t\t4F1FC8B1140755CD00C343D9 /* SubTreeTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SubTreeTests.h; sourceTree = \"<group>\"; };\n\t\t4F1FC8B2140755CD00C343D9 /* SubTreeTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SubTreeTests.m; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t4F1FC8381407441500C343D9 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t4F1FC8401407441500C343D9 /* UIKit.framework in Frameworks */,\n\t\t\t\t4F1FC8421407441500C343D9 /* Foundation.framework in Frameworks */,\n\t\t\t\t4F1FC8441407441500C343D9 /* CoreGraphics.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t4F1FC85B1407441600C343D9 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t4F1FC8621407441600C343D9 /* UIKit.framework in Frameworks */,\n\t\t\t\t4F1FC8631407441600C343D9 /* Foundation.framework in Frameworks */,\n\t\t\t\t4F1FC8641407441600C343D9 /* CoreGraphics.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t4F1FC8301407441500C343D9 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC8451407441500C343D9 /* PSTTreeGraph */,\n\t\t\t\t4F1FC8671407441600C343D9 /* PSTTreeGraphTests */,\n\t\t\t\t4F1FC83E1407441500C343D9 /* Frameworks */,\n\t\t\t\t4F1FC83C1407441500C343D9 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC83C1407441500C343D9 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC83B1407441500C343D9 /* PSTTreeGraph.app */,\n\t\t\t\t4F1FC85F1407441600C343D9 /* PSTTreeGraphTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC83E1407441500C343D9 /* Frameworks */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC83F1407441500C343D9 /* UIKit.framework */,\n\t\t\t\t4F1FC8411407441500C343D9 /* Foundation.framework */,\n\t\t\t\t4F1FC8431407441500C343D9 /* CoreGraphics.framework */,\n\t\t\t);\n\t\t\tname = Frameworks;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC8451407441500C343D9 /* PSTTreeGraph */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC88814074D6F00C343D9 /* Controller */,\n\t\t\t\t4F1FC88A14074D7800C343D9 /* View */,\n\t\t\t\t4F1FC88B14074D8100C343D9 /* Model */,\n\t\t\t\t4F1FC8461407441500C343D9 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = PSTTreeGraph;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC8461407441500C343D9 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC8A4140751EF00C343D9 /* Interface */,\n\t\t\t\t4F1FC8471407441500C343D9 /* PSTTreeGraph-Info.plist */,\n\t\t\t\t4F1FC8481407441500C343D9 /* InfoPlist.strings */,\n\t\t\t\t4F1FC84B1407441500C343D9 /* main.m */,\n\t\t\t\t4F1FC84D1407441600C343D9 /* PSTTreeGraph-Prefix.pch */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC8671407441600C343D9 /* PSTTreeGraphTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC8AD140755CD00C343D9 /* GraphTests.h */,\n\t\t\t\t4F1FC8AE140755CD00C343D9 /* GraphTests.m */,\n\t\t\t\t4F1FC8B1140755CD00C343D9 /* SubTreeTests.h */,\n\t\t\t\t4F1FC8B2140755CD00C343D9 /* SubTreeTests.m */,\n\t\t\t\t4F1FC8AB140755CD00C343D9 /* BranchTests.h */,\n\t\t\t\t4F1FC8AC140755CD00C343D9 /* BranchTests.m */,\n\t\t\t\t4F1FC8AF140755CD00C343D9 /* LeafTests.h */,\n\t\t\t\t4F1FC8B0140755CD00C343D9 /* LeafTests.m */,\n\t\t\t\t4F1FC8681407441600C343D9 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = PSTTreeGraphTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC8681407441600C343D9 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC8691407441600C343D9 /* PSTTreeGraphTests-Info.plist */,\n\t\t\t\t4F1FC86A1407441600C343D9 /* InfoPlist.strings */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC88814074D6F00C343D9 /* Controller */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC84E1407441600C343D9 /* PSTTreeGraphAppDelegate.h */,\n\t\t\t\t4F1FC84F1407441600C343D9 /* PSTTreeGraphAppDelegate.m */,\n\t\t\t\t4F1FC8541407441600C343D9 /* PSTTreeGraphViewController.h */,\n\t\t\t\t4F1FC8551407441600C343D9 /* PSTTreeGraphViewController.m */,\n\t\t\t);\n\t\t\tname = Controller;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC88A14074D7800C343D9 /* View */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC88C14074E3300C343D9 /* PSTreeGraphView */,\n\t\t\t);\n\t\t\tname = View;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC88B14074D8100C343D9 /* Model */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t);\n\t\t\tname = Model;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC88C14074E3300C343D9 /* PSTreeGraphView */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC88D14074E3300C343D9 /* PSBaseBranchView.h */,\n\t\t\t\t4F1FC88E14074E3300C343D9 /* PSBaseBranchView.m */,\n\t\t\t\t4F1FC88F14074E3300C343D9 /* PSBaseLeafView.h */,\n\t\t\t\t4F1FC89014074E3300C343D9 /* PSBaseLeafView.m */,\n\t\t\t\t4F1FC89114074E3300C343D9 /* PSBaseSubtreeView.h */,\n\t\t\t\t4F1FC89214074E3300C343D9 /* PSBaseSubtreeView.m */,\n\t\t\t\t4F1FC89314074E3300C343D9 /* PSBaseTreeGraphView.h */,\n\t\t\t\t4F1FC89414074E3300C343D9 /* PSBaseTreeGraphView.m */,\n\t\t\t\t4F1FC89514074E3300C343D9 /* PSBaseTreeGraphView_Internal.h */,\n\t\t\t\t4F1FC89614074E3300C343D9 /* PSTreeGraphModelNode.h */,\n\t\t\t);\n\t\t\tname = PSTreeGraphView;\n\t\t\tpath = ../../PSTreeGraphView;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC8A4140751EF00C343D9 /* Interface */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC8571407441600C343D9 /* PSTTreeGraphViewController.xib */,\n\t\t\t\t4F1FC8511407441600C343D9 /* MainWindow.xib */,\n\t\t\t);\n\t\t\tname = Interface;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t4F1FC83A1407441500C343D9 /* PSTTreeGraph */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 4F1FC8731407441600C343D9 /* Build configuration list for PBXNativeTarget \"PSTTreeGraph\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t4F1FC8371407441500C343D9 /* Sources */,\n\t\t\t\t4F1FC8381407441500C343D9 /* Frameworks */,\n\t\t\t\t4F1FC8391407441500C343D9 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = PSTTreeGraph;\n\t\t\tproductName = PSTTreeGraph;\n\t\t\tproductReference = 4F1FC83B1407441500C343D9 /* PSTTreeGraph.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\t4F1FC85E1407441600C343D9 /* PSTTreeGraphTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 4F1FC8761407441600C343D9 /* Build configuration list for PBXNativeTarget \"PSTTreeGraphTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t4F1FC85A1407441600C343D9 /* Sources */,\n\t\t\t\t4F1FC85B1407441600C343D9 /* Frameworks */,\n\t\t\t\t4F1FC85C1407441600C343D9 /* Resources */,\n\t\t\t\t4F1FC85D1407441600C343D9 /* ShellScript */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t4F1FC8661407441600C343D9 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = PSTTreeGraphTests;\n\t\t\tproductName = PSTTreeGraphTests;\n\t\t\tproductReference = 4F1FC85F1407441600C343D9 /* PSTTreeGraphTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t4F1FC8321407441500C343D9 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 0700;\n\t\t\t\tORGANIZATIONNAME = \"Preston Software\";\n\t\t\t};\n\t\t\tbuildConfigurationList = 4F1FC8351407441500C343D9 /* Build configuration list for PBXProject \"PSTTreeGraph\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t);\n\t\t\tmainGroup = 4F1FC8301407441500C343D9;\n\t\t\tproductRefGroup = 4F1FC83C1407441500C343D9 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t4F1FC83A1407441500C343D9 /* PSTTreeGraph */,\n\t\t\t\t4F1FC85E1407441600C343D9 /* PSTTreeGraphTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t4F1FC8391407441500C343D9 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t4F1FC84A1407441500C343D9 /* InfoPlist.strings in Resources */,\n\t\t\t\t4F1FC8531407441600C343D9 /* MainWindow.xib in Resources */,\n\t\t\t\t4F1FC8591407441600C343D9 /* PSTTreeGraphViewController.xib in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t4F1FC85C1407441600C343D9 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t4F1FC86C1407441600C343D9 /* InfoPlist.strings in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXShellScriptBuildPhase section */\n\t\t4F1FC85D1407441600C343D9 /* ShellScript */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"# Run the unit tests in this test bundle.\\n\\\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\\\"\\n\";\n\t\t};\n/* End PBXShellScriptBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t4F1FC8371407441500C343D9 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t4F1FC84C1407441500C343D9 /* main.m in Sources */,\n\t\t\t\t4F1FC8501407441600C343D9 /* PSTTreeGraphAppDelegate.m in Sources */,\n\t\t\t\t4F1FC8561407441600C343D9 /* PSTTreeGraphViewController.m in Sources */,\n\t\t\t\t4F1FC89714074E3300C343D9 /* PSBaseBranchView.m in Sources */,\n\t\t\t\t4F1FC89814074E3300C343D9 /* PSBaseLeafView.m in Sources */,\n\t\t\t\t4F1FC89914074E3300C343D9 /* PSBaseSubtreeView.m in Sources */,\n\t\t\t\t4F1FC89A14074E3300C343D9 /* PSBaseTreeGraphView.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t4F1FC85A1407441600C343D9 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t4F1FC8B3140755CD00C343D9 /* BranchTests.m in Sources */,\n\t\t\t\t4F1FC8B4140755CD00C343D9 /* GraphTests.m in Sources */,\n\t\t\t\t4F1FC8B5140755CD00C343D9 /* LeafTests.m in Sources */,\n\t\t\t\t4F1FC8B6140755CD00C343D9 /* SubTreeTests.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t4F1FC8661407441600C343D9 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 4F1FC83A1407441500C343D9 /* PSTTreeGraph */;\n\t\t\ttargetProxy = 4F1FC8651407441600C343D9 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\t4F1FC8481407441500C343D9 /* InfoPlist.strings */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC8491407441500C343D9 /* en */,\n\t\t\t);\n\t\t\tname = InfoPlist.strings;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC8511407441600C343D9 /* MainWindow.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC8521407441600C343D9 /* en */,\n\t\t\t);\n\t\t\tname = MainWindow.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC8571407441600C343D9 /* PSTTreeGraphViewController.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC8581407441600C343D9 /* en */,\n\t\t\t);\n\t\t\tname = PSTTreeGraphViewController.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t4F1FC86A1407441600C343D9 /* InfoPlist.strings */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t4F1FC86B1407441600C343D9 /* en */,\n\t\t\t);\n\t\t\tname = InfoPlist.strings;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t4F1FC8711407441600C343D9 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_VERSION = com.apple.compilers.llvm.clang.1_0;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = 2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t4F1FC8721407441600C343D9 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = YES;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_VERSION = com.apple.compilers.llvm.clang.1_0;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;\n\t\t\t\tGCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 6.0;\n\t\t\t\tOTHER_CFLAGS = \"-DNS_BLOCK_ASSERTIONS=1\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = 2;\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t4F1FC8741407441600C343D9 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"PSTTreeGraph/PSTTreeGraph-Prefix.pch\";\n\t\t\t\tINFOPLIST_FILE = \"PSTTreeGraph/PSTTreeGraph-Info.plist\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.prestonsoft.${PRODUCT_NAME:rfc1034identifier}\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tWRAPPER_EXTENSION = app;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t4F1FC8751407441600C343D9 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"PSTTreeGraph/PSTTreeGraph-Prefix.pch\";\n\t\t\t\tINFOPLIST_FILE = \"PSTTreeGraph/PSTTreeGraph-Info.plist\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.prestonsoft.${PRODUCT_NAME:rfc1034identifier}\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tWRAPPER_EXTENSION = app;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t4F1FC8771407441600C343D9 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(BUILT_PRODUCTS_DIR)/PSTTreeGraph.app/PSTTreeGraph\";\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"PSTTreeGraph/PSTTreeGraph-Prefix.pch\";\n\t\t\t\tINFOPLIST_FILE = \"PSTTreeGraphTests/PSTTreeGraphTests-Info.plist\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.prestonsoft.${PRODUCT_NAME:rfc1034identifier}\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTEST_HOST = \"$(BUNDLE_LOADER)\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t4F1FC8781407441600C343D9 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(BUILT_PRODUCTS_DIR)/PSTTreeGraph.app/PSTTreeGraph\";\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n\t\t\t\tGCC_PREFIX_HEADER = \"PSTTreeGraph/PSTTreeGraph-Prefix.pch\";\n\t\t\t\tINFOPLIST_FILE = \"PSTTreeGraphTests/PSTTreeGraphTests-Info.plist\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.prestonsoft.${PRODUCT_NAME:rfc1034identifier}\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTEST_HOST = \"$(BUNDLE_LOADER)\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t4F1FC8351407441500C343D9 /* Build configuration list for PBXProject \"PSTTreeGraph\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t4F1FC8711407441600C343D9 /* Debug */,\n\t\t\t\t4F1FC8721407441600C343D9 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t4F1FC8731407441600C343D9 /* Build configuration list for PBXNativeTarget \"PSTTreeGraph\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t4F1FC8741407441600C343D9 /* Debug */,\n\t\t\t\t4F1FC8751407441600C343D9 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t4F1FC8761407441600C343D9 /* Build configuration list for PBXNativeTarget \"PSTTreeGraphTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t4F1FC8771407441600C343D9 /* Debug */,\n\t\t\t\t4F1FC8781407441600C343D9 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 4F1FC8321407441500C343D9 /* Project object */;\n}\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraphTests/BranchTests.h",
    "content": "//\n//  BranchTests.h\n//  PSTTreeGraphTests\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import <XCTest/XCTest.h>\n\n#import \"PSBaseBranchView.h\"\n\n@interface BranchTests : XCTestCase\n{\n    PSBaseBranchView* aBranch;\n}\n\n@end\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraphTests/BranchTests.m",
    "content": "//\n//  BranchTests.m\n//  PSTTreeGraphTests\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import \"BranchTests.h\"\n\n@implementation BranchTests\n\n- (void)setUp\n{\n    [super setUp];\n\n    // Set-up code here.\n\n    aBranch = [[PSBaseBranchView alloc] initWithFrame:CGRectZero];\n    XCTAssertNotNil(aBranch, @\"Couldn't create branch view.\");\n\n}\n\n- (void)tearDown\n{\n    // Tear-down code here.\n\n    [super tearDown];\n}\n\n- (void)testExample\n{\n//    STFail(@\"Unit tests are not implemented yet in PSTTreeGraphTests\");\n}\n\n@end\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraphTests/GraphTests.h",
    "content": "//\n//  GraphTests.h\n//  PSTTreeGraphTests\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import <XCTest/XCTest.h>\n\n@interface GraphTests : XCTestCase\n\n@end\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraphTests/GraphTests.m",
    "content": "//\n//  GraphTests.m\n//  PSTTreeGraphTests\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import \"GraphTests.h\"\n\n@implementation GraphTests\n\n- (void)setUp\n{\n    [super setUp];\n\n    // Set-up code here.\n}\n\n- (void)tearDown\n{\n    // Tear-down code here.\n\n    [super tearDown];\n}\n\n- (void)testExample\n{\n//    STFail(@\"Unit tests are not implemented yet in PSTTreeGraphTests\");\n}\n\n@end\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraphTests/LeafTests.h",
    "content": "//\n//  LeafTests.h\n//  PSTTreeGraphTests\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import <XCTest/XCTest.h>\n\n#import \"PSBaseLeafView.h\"\n\n@interface LeafTests : XCTestCase\n{\n    PSBaseLeafView* aLeaf;\n}\n@end\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraphTests/LeafTests.m",
    "content": "//\n//  LeafTests.m\n//  PSTTreeGraphTests\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import \"LeafTests.h\"\n\n@implementation LeafTests\n\n- (void)setUp\n{\n    [super setUp];\n\n    // Set-up code here.\n\n\n    aLeaf = [[PSBaseLeafView alloc] initWithFrame:CGRectZero];\n    XCTAssertNotNil(aLeaf, @\"Couldn't create leaf view.\");\n\n\n}\n\n- (void)tearDown\n{\n    // Tear-down code here.\n\n    [super tearDown];\n}\n\n- (void)testSelectionState\n{\n    XCTAssertFalse(aLeaf.showingSelected, @\"Leaf nodes should not be selected by default.\");\n\n    aLeaf.showingSelected = YES;\n    XCTAssertTrue(aLeaf.showingSelected, @\"showingSelected property assignment failed.\");\n\n    aLeaf.showingSelected = NO;\n    XCTAssertFalse(aLeaf.showingSelected, @\"showingSelected property assignment failed.\");\n}\n\n@end\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraphTests/PSTTreeGraphTests-Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>${EXECUTABLE_NAME}</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraphTests/SubTreeTests.h",
    "content": "//\n//  SubTreeTests.h\n//  PSTTreeGraphTests\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import <XCTest/XCTest.h>\n\n@interface SubTreeTests : XCTestCase\n\n@end\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraphTests/SubTreeTests.m",
    "content": "//\n//  SubTreeTests.m\n//  PSTTreeGraphTests\n//\n//  Created by Ed Preston on 26/08/11.\n//  Copyright 2011 Preston Software. All rights reserved.\n//\n\n#import \"SubTreeTests.h\"\n\n@implementation SubTreeTests\n\n- (void)setUp\n{\n    [super setUp];\n\n    // Set-up code here.\n}\n\n- (void)tearDown\n{\n    // Tear-down code here.\n\n    [super tearDown];\n}\n\n- (void)testExample\n{\n//    STFail(@\"Unit tests are not implemented yet in PSTTreeGraphTests\");\n}\n\n@end\n"
  },
  {
    "path": "Unit Tests/PSTTreeGraphTests/en.lproj/InfoPlist.strings",
    "content": "/* Localized versions of Info.plist keys */\n\n"
  }
]