34@implementation NSObject (OODescriptionComponents)
44 NSString *components =
nil;
46 components = [
self descriptionComponents];
47 if (components !=
nil)
49 return [NSString stringWithFormat:@"<%@ %p>{%@}", [
self class], self, components];
53 return [NSString stringWithFormat:@"<%@ %p>", [
self class], self];
60 NSString *components =
nil;
62 components = [
self shortDescriptionComponents];
63 if (components !=
nil)
65 return [NSString stringWithFormat:@"<%@ %p>{%@}", [
self class], self, components];
69 return [NSString stringWithFormat:@"<%@ %p>", [
self class], self];
82@implementation NSEnumerator (OOForEachSupport)
84- (NSEnumerator *) objectEnumerator
id OOConsumeReference(id OO_NS_CONSUMED value)
NSString * descriptionComponents()
NSString * shortDescriptionComponents()
NSString * shortDescription()