From a8ff4e805f875b8d565df63ad1e9fd56e699b3e1 Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Fri, 28 Aug 2009 23:00:28 +0000 Subject: [Author: oster] subtreeDescription is a debugging tool for displaying UIView hierarchies in the Xcode Console window in DEBUG builds. As it says in the .h file: pause in the debugger and type something like: (gdb) po [[[UIApplication sharedApplication] keyWindow] subtreeDescription] and a nicely pretty printed version of the view hierarchy will be printed in the debugger console window. DELTA=179 (179 added, 0 deleted, 0 changed) R=dmaclach,mikemorton,thomasvl --- GTMiPhone.xcodeproj/project.pbxproj | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'GTMiPhone.xcodeproj') diff --git a/GTMiPhone.xcodeproj/project.pbxproj b/GTMiPhone.xcodeproj/project.pbxproj index 3f0adce..aad11ef 100644 --- a/GTMiPhone.xcodeproj/project.pbxproj +++ b/GTMiPhone.xcodeproj/project.pbxproj @@ -21,6 +21,8 @@ /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ + 13C1ED4F104896C900907CD8 /* GTMUIView+SubtreeDescription.m in Sources */ = {isa = PBXBuildFile; fileRef = 13C1ED4C104896C900907CD8 /* GTMUIView+SubtreeDescription.m */; }; + 13C1ED50104896C900907CD8 /* GTMUIView+SubtreeDescriptionTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 13C1ED4D104896C900907CD8 /* GTMUIView+SubtreeDescriptionTest.m */; }; 1D3623EC0D0F72F000981E51 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D3623EB0D0F72F000981E51 /* CoreGraphics.framework */; }; 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; @@ -132,6 +134,9 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 13C1ED4C104896C900907CD8 /* GTMUIView+SubtreeDescription.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "GTMUIView+SubtreeDescription.m"; sourceTree = ""; }; + 13C1ED4D104896C900907CD8 /* GTMUIView+SubtreeDescriptionTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "GTMUIView+SubtreeDescriptionTest.m"; sourceTree = ""; }; + 13C1ED4E104896C900907CD8 /* GTMUIView+SubtreeDescription.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "GTMUIView+SubtreeDescription.h"; sourceTree = ""; }; 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 1D3623EB0D0F72F000981E51 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 1D6058910D05DD3D006BFB54 /* GTMiPhoneTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GTMiPhoneTest.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -374,6 +379,9 @@ 64D0F5C50FD3E65C00506CC7 /* GTMUIImage+Resize.h */, 64D0F5C70FD3E65C00506CC7 /* GTMUIImage+Resize.m */, 64D0F5C60FD3E65C00506CC7 /* GTMUIImage+ResizeTest.m */, + 13C1ED4C104896C900907CD8 /* GTMUIView+SubtreeDescription.m */, + 13C1ED4D104896C900907CD8 /* GTMUIView+SubtreeDescriptionTest.m */, + 13C1ED4E104896C900907CD8 /* GTMUIView+SubtreeDescription.h */, 64D0F5CB0FD3E66A00506CC7 /* TestData */, ); path = iPhone; @@ -736,6 +744,8 @@ 8BF4D4190FC7499D009ABC3F /* GTMGoogleSearch.m in Sources */, 64D0F5C80FD3E65C00506CC7 /* GTMUIImage+ResizeTest.m in Sources */, 64D0F5C90FD3E65C00506CC7 /* GTMUIImage+Resize.m in Sources */, + 13C1ED4F104896C900907CD8 /* GTMUIView+SubtreeDescription.m in Sources */, + 13C1ED50104896C900907CD8 /* GTMUIView+SubtreeDescriptionTest.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; -- cgit v1.2.3