35- (id) initWithObject:(
id <OOWeakReferenceSupport>)object
37 if ((
self = [super init]))
68 return [NSBundle loadNibNamed:nibName owner:self];
74 return [
self className];
86 return [_object weakRefUnderlyingObject];
98@implementation NSArray (OODebugInspectorSupportUtilities)
100- (NSArray *) arrayByAddingInspectorModuleOfClass:(Class)theClass
101 forObject:(
id <OOWeakReferenceSupport>)object
104 NSArray *result =
self;
108 module = [[[theClass alloc] initWithObject:object] autorelease];
111 result = [result arrayByAddingObject:module];
123 static NSString *
string =
nil;
126 string = [NSLocalizedStringFromTableInBundle(@"--", NULL, [NSBundle bundleForClass:[
OODebugInspectorModule class]], @"") retain];
127 if (
string ==
nil)
string =
@"-";
NSString * InspectorUnknownValueString(void)
OOWeakReference * _object
IBOutlet NSView * _rootView