46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
OFObject **objs = [array cArray];
size_t i, count = [array count];
for (i = 0; i < count; i++) {
if ([objs[i] isEqual: obj]) {
[objs[i] release];
[array removeItemAtIndex: i];
}
}
return self;
}
- removeObjectIdenticalTo: (id)obj
|
>
|
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
OFObject **objs = [array cArray];
size_t i, count = [array count];
for (i = 0; i < count; i++) {
if ([objs[i] isEqual: obj]) {
[objs[i] release];
[array removeItemAtIndex: i];
return self;
}
}
return self;
}
- removeObjectIdenticalTo: (id)obj
|