Permalink
Browse files

Add -[SourceListItem description] as a debugging aid

  • Loading branch information...
1 parent 5178480 commit 0c87fe4400b27d4b93e1bcbdc454a5ab0f8fde53 Brian Chapados committed Nov 22, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 Classes/SourceListItem.m
View
@@ -90,4 +90,11 @@ - (BOOL)hasIcon
return icon!=nil;
}
+#pragma mark -
+#pragma mark Custom Accessors
+
+- (NSString *)description
+{
+ return [NSString stringWithFormat:@"<%@: %p | identifier = %@ | title = %@ >", [self class], self, self.identifier, self.title];
+}
@end

0 comments on commit 0c87fe4

Please sign in to comment.