[google-toolbox-for-mac] r580 committed - [Author: oster]...

13 views
Skip to first unread message

google-tool...@googlecode.com

unread,
Oct 2, 2012, 5:00:26 PM10/2/12
to google-tool...@googlegroups.com
Revision: 580
Author: gtm.daemon
Date: Tue Oct 2 14:00:15 2012
Log: [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
http://code.google.com/p/google-toolbox-for-mac/source/detail?r=580

Modified:
/trunk/iPhone/GTMUIView+SubtreeDescription.h

=======================================
--- /trunk/iPhone/GTMUIView+SubtreeDescription.h Fri Jun 4 08:35:57 2010
+++ /trunk/iPhone/GTMUIView+SubtreeDescription.h Tue Oct 2 14:00:15 2012
@@ -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
Reply all
Reply to author
Forward
0 new messages