409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
|
[pool releaseObjects];
}
append(ret, @selector(appendString:), [cArray[i] description]);
[pool release];
/*
* Class swizzle the string to be immutable. We declared the return type
* to be OFString*, so it can't be modified anyway. But not swizzling it
* would create a real copy each time -[copy] is called.
*/
ret->isa = [OFString class];
return ret;
}
- (BOOL)isEqual: (id)object
|
|
|
|
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
|
[pool releaseObjects];
}
append(ret, @selector(appendString:), [cArray[i] description]);
[pool release];
/*
* Class swizzle the array to be immutable. We declared the return type
* to be OFArray*, so it can't be modified anyway. But not swizzling it
* would create a real copy each time -[copy] is called.
*/
ret->isa = [OFString class];
return ret;
}
- (BOOL)isEqual: (id)object
|
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
|
}
[pool release];
[ret autorelease];
/*
* Class swizzle the string to be immutable. We declared the return type
* to be OFString*, so it can't be modified anyway. But not swizzling it
* would create a real copy each time -[copy] is called.
*/
ret->isa = [OFString class];
return ret;
}
- (OFXMLElement*)XMLElementBySerializing
|
|
|
|
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
|
}
[pool release];
[ret autorelease];
/*
* Class swizzle the array to be immutable. We declared the return type
* to be OFArray*, so it can't be modified anyway. But not swizzling it
* would create a real copy each time -[copy] is called.
*/
ret->isa = [OFString class];
return ret;
}
- (OFXMLElement*)XMLElementBySerializing
|