Permalink
Browse files

Add an ID number to descriptions of ANIdentifiedResources

  • Loading branch information...
1 parent c5a8c81 commit 1f40b0391e47f5fca26b9b74fc9c1e66e1709fcc Brent Royal-Gordon committed Nov 12, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 ANIdentifiedResource.m
View
@@ -33,4 +33,8 @@ - (BOOL)isEqual:(ANIdentifiedResource*)object {
return self.ID == object.ID;
}
+- (NSString *)description {
+ return [NSString stringWithFormat:@"<%@: %p #%lld>", self.class, self, self.ID];
+}
+
@end

0 comments on commit 1f40b03

Please sign in to comment.