Differences From Artifact [1188c860b8]:
- File
src/OFArray.h
— part of check-in
[37db8f0fb3]
at
2010-04-17 22:27:17
on branch trunk
— New ivar naming convention.
ivars are now named like this: thisIsAnIVar. If an accessor exists for
the ivar, the ivar is named like the accessor. This is required for
@property to work. (user: js, size: 4301) [annotate] [blame] [check-ins using]
To Artifact [8a7d786fed]:
- File src/OFArray.h — part of check-in [91ccd70c55] at 2010-08-25 11:22:11 on branch trunk — Add warning to doc about collections not retaining and autoreleasing. (user: js, size: 4686) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
118 119 120 121 122 123 124 125 126 127 128 129 130 131 | /** * \return The objects of the array as a C array */ - (id*)cArray; /** * Returns a specific object of the array. * * \param index The number of the object to return * \return The specified object of the OFArray */ - (id)objectAtIndex: (size_t)index; /** | > > > | 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | /** * \return The objects of the array as a C array */ - (id*)cArray; /** * Returns a specific object of the array. * * The returned object is <i>not</i> retained and autoreleased for performance * reasons! * * \param index The number of the object to return * \return The specified object of the OFArray */ - (id)objectAtIndex: (size_t)index; /** |
︙ | ︙ | |||
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | * \param obj The object whose index is returned * \return The index of the first object that has the same aaddress as * the specified object */ - (size_t)indexOfObjectIdenticalTo: (OFObject*)obj; /** * \return The first object of the array or nil */ - (id)firstObject; /** * \return The last object of the array or nil */ - (id)lastObject; /** * Creates a string by joining all objects of the array. * | > > > > > > > > > > | 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | * \param obj The object whose index is returned * \return The index of the first object that has the same aaddress as * the specified object */ - (size_t)indexOfObjectIdenticalTo: (OFObject*)obj; /** * Returns the first object of the array or nil. * * The returned object is <i>not</i> retained and autoreleased for performance * reasons! * * \return The first object of the array or nil */ - (id)firstObject; /** * Returns the last object of the array or nil. * * The returned object is <i>not</i> retained and autoreleased for performance * reasons! * * \return The last object of the array or nil */ - (id)lastObject; /** * Creates a string by joining all objects of the array. * |
︙ | ︙ |