Differences From Artifact [47830eac24]:
- File
src/OFArray.m
— part of check-in
[cc6d2d3987]
at
2009-05-18 22:09:42
on branch trunk
— Fix error handling in init methods in OFArray.
Actually, directly retaining them is required, as dealloc will release
them. (user: js, size: 3410) [annotate] [blame] [check-ins using]
To Artifact [dbe234c97f]:
- File
src/OFArray.m
— part of check-in
[a29d403286]
at
2009-05-23 16:50:44
on branch trunk
— A few renames in OFArray, OFDataArray and OFDictionary.
OFArray:
* Rename - object: to - objectAtIndex:.OFDataArray:
* Rename - item: to - itemAtIndex:.OFDictionary:
* Rename - get: to - objectForKey:.
* Rename - set:to: to - setObject:forKey:.
* Rename - remove: to - removeObjectForKey:. (user: js, size: 3424) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
162 163 164 165 166 167 168 | for (i = 0; i < len; i++) [objs[i] retain]; return new; } | | | | 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | for (i = 0; i < len; i++) [objs[i] retain]; return new; } - (id)objectAtIndex: (size_t)index { return *((OFObject**)[array itemAtIndex: index]); } - (id)last { return *((OFObject**)[array last]); } |
︙ | ︙ |