diff options
author | stuconnolly <stuart02@gmail.com> | 2010-12-05 19:00:55 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-12-05 19:00:55 +0000 |
commit | e1abafb0d9401c3b62c762921362effabe14f844 (patch) | |
tree | 3739bb4d11acfc5e29173d6db4e17736e711e71e /Source/SPGroupNode.m | |
parent | 0dcf7859fbaf5dbb1e1a2887e46add5634d26d77 (diff) | |
download | sequelpro-e1abafb0d9401c3b62c762921362effabe14f844.tar.gz sequelpro-e1abafb0d9401c3b62c762921362effabe14f844.tar.bz2 sequelpro-e1abafb0d9401c3b62c762921362effabe14f844.zip |
Add description methods to tree node classes to aid debugging.
Diffstat (limited to 'Source/SPGroupNode.m')
-rw-r--r-- | Source/SPGroupNode.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/SPGroupNode.m b/Source/SPGroupNode.m index 79c65c94..6687b29e 100644 --- a/Source/SPGroupNode.m +++ b/Source/SPGroupNode.m @@ -68,6 +68,14 @@ } #pragma mark - +#pragma mark Other + +- (NSString *)description +{ + return [NSString stringWithFormat:@"<%@: %p ('%@')>", [self className], self, [self nodeName]]; +} + +#pragma mark - - (void)dealloc { |