Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
NSArray(OODebugInspectorSupportUtilities) Category Reference

#include <OODebugInspectorModule.h>

Instance Methods

(NSArray *) - arrayByAddingInspectorModuleOfClass:forObject:
 

Detailed Description

Definition at line 61 of file OODebugInspectorModule.h.

Method Documentation

◆ arrayByAddingInspectorModuleOfClass:forObject:

- (NSArray *) arrayByAddingInspectorModuleOfClass: (Class) theClass
forObject: (id <OOWeakReferenceSupport>) object 

Definition at line 121 of file OODebugInspectorModule.m.

100 :(Class)theClass
101 forObject:(id <OOWeakReferenceSupport>)object
102{
103 id module = nil;
104 NSArray *result = self;
105
106 if ([theClass isSubclassOfClass:[OODebugInspectorModule class]])
107 {
108 module = [[[theClass alloc] initWithObject:object] autorelease];
109 if (module != nil)
110 {
111 result = [result arrayByAddingObject:module];
112 }
113 }
114
115 return result;
116}
return nil

References nil.


The documentation for this category was generated from the following files: