@@ -139,48 +139,48 @@ * @brief Initializes an OFArray with the specified object. * * @param object An object * @return An initialized OFArray */ -- initWithObject: (ObjectType)object; +- (instancetype)initWithObject: (ObjectType)object; /*! * @brief Initializes an OFArray with the specified objects. * * @param firstObject The first object * @return An initialized OFArray */ -- initWithObjects: (ObjectType)firstObject, ... OF_SENTINEL; +- (instancetype)initWithObjects: (ObjectType)firstObject, ... OF_SENTINEL; /*! * @brief Initializes an OFArray with the specified object and a va_list. * * @param firstObject The first object * @param arguments A va_list * @return An initialized OFArray */ -- initWithObject: (ObjectType)firstObject - arguments: (va_list)arguments; +- (instancetype)initWithObject: (ObjectType)firstObject + arguments: (va_list)arguments; /*! * @brief Initializes an OFArray with the objects from the specified array. * * @param array An array * @return An initialized OFArray */ -- initWithArray: (OFArray OF_GENERIC(ObjectType) *)array; +- (instancetype)initWithArray: (OFArray OF_GENERIC(ObjectType) *)array; /*! * @brief Initializes an OFArray with the objects from the specified C array of * the specified length. * * @param objects A C array of objects * @param count The length of the C array * @return An initialized OFArray */ -- initWithObjects: (ObjectType const _Nonnull *_Nonnull)objects - count: (size_t)count; +- (instancetype)initWithObjects: (ObjectType const _Nonnull *_Nonnull)objects + count: (size_t)count; /*! * @brief Returns the object at the specified index in the array. * * @warning The returned object is *not* retained and autoreleased for @@ -512,12 +512,12 @@ unsigned long _mutations; unsigned long *_Nullable _mutationsPtr; size_t _position; } -- initWithArray: (OFArray *)data - mutationsPtr: (nullable unsigned long *)mutationsPtr; +- (instancetype)initWithArray: (OFArray *)data + mutationsPtr: (nullable unsigned long *)mutationsPtr; @end OF_ASSUME_NONNULL_END #import "OFMutableArray.h"