31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
_keys = mutableKeys;
mutableObjects = [[OFMutableArray alloc]
initWithCapacity: count];
_objects = mutableObjects;
for (size_t i = 0; i < count; i++) {
OFLog(@"key=%@, value=%@", keys[i], objects[i]);
[mutableKeys addObject: keys[i]];
[mutableObjects addObject: objects[i]];
}
[mutableKeys makeImmutable];
[mutableObjects makeImmutable];
} @catch (id e) {
|
<
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
_keys = mutableKeys;
mutableObjects = [[OFMutableArray alloc]
initWithCapacity: count];
_objects = mutableObjects;
for (size_t i = 0; i < count; i++) {
[mutableKeys addObject: keys[i]];
[mutableObjects addObject: objects[i]];
}
[mutableKeys makeImmutable];
[mutableObjects makeImmutable];
} @catch (id e) {
|