31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
* @param index The index of the object to replace
* @return The object to replace the object with
*/
typedef id _Nonnull (^OFArrayReplaceBlock)(id object, size_t index);
#endif
/**
* @class OFMutableArray OFArray.h ObjFW/OFArray.h
*
* @brief An abstract class for storing, adding and removing objects in an
* array.
*
* @note Subclasses must implement @ref insertObject:atIndex:,
* @ref replaceObjectAtIndex:withObject:, @ref removeObjectAtIndex: as
* well as all methods of @ref OFArray that need to be implemented.
|
|
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
* @param index The index of the object to replace
* @return The object to replace the object with
*/
typedef id _Nonnull (^OFArrayReplaceBlock)(id object, size_t index);
#endif
/**
* @class OFMutableArray OFMutableArray.h ObjFW/ObjFW.h
*
* @brief An abstract class for storing, adding and removing objects in an
* array.
*
* @note Subclasses must implement @ref insertObject:atIndex:,
* @ref replaceObjectAtIndex:withObject:, @ref removeObjectAtIndex: as
* well as all methods of @ref OFArray that need to be implemented.
|