aboutsummaryrefslogtreecommitdiff
path: root/iPhone
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-10-02 21:00:15 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-10-02 21:00:15 +0000
commite74ff72161f3381ae7d7141d60a3e7223cf2aabe (patch)
tree028a06cfd7a5ff9480f85a4bc118eec00f7c6c9d /iPhone
parent8d786fd60ba2cb8d276ead95b360ae33c64df131 (diff)
[Author: oster]
Add a comment explaining that this file is similar to something that Apple has now built in. Tested: n/a R=thomasvl APPROVED=thomasvl
Diffstat (limited to 'iPhone')
-rw-r--r--iPhone/GTMUIView+SubtreeDescription.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/iPhone/GTMUIView+SubtreeDescription.h b/iPhone/GTMUIView+SubtreeDescription.h
index 627298a..e713d3d 100644
--- a/iPhone/GTMUIView+SubtreeDescription.h
+++ b/iPhone/GTMUIView+SubtreeDescription.h
@@ -17,6 +17,13 @@
//
#import <UIKit/UIKit.h>
+// This entire file, and the corresponding .m is similar to, and predates
+// Apple's recursiveDescription, used like so:
+//
+// (lldb) po [[self view] recursiveDescription]
+//
+// As documented in Technical Note TN2239 iOS Debugging Magic.
+
// This entire file, and the corresponding .m is DEBUG only.
// But you can define INCLUDE_UIVIEW_SUBTREE_DESCRIPTION to no-zero to override.
#if DEBUG || INCLUDE_UIVIEW_SUBTREE_DESCRIPTION