111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
{
self = [self init];
@try {
id object;
[array addItem: &firstObject];
while ((object = va_arg(arguments, id)) != nil) {
[array addItem: &object];
[object retain];
}
} @catch (id e) {
[self release];
@throw e;
|
>
>
|
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
{
self = [self init];
@try {
id object;
[array addItem: &firstObject];
[firstObject retain];
while ((object = va_arg(arguments, id)) != nil) {
[array addItem: &object];
[object retain];
}
} @catch (id e) {
[self release];
@throw e;
|