@@ -218,11 +218,11 @@ * @note A @ref OFNull value is translated to nil! * * @param value The value for the specified key * @param key The key of the value to set */ -- (void)setValue: (nullable id)value +- (void)setValue: (id)value forKey: (OFString *)key; /*! * @brief Copies the objects at the specified range to the specified buffer. * @@ -264,21 +264,21 @@ * object. * * @param object The object which is checked for being in the array * @return A boolean whether the array contains the specified object */ -- (bool)containsObject: (nullable ObjectType)object; +- (bool)containsObject: (ObjectType)object; /*! * @brief Checks whether the array contains an object with the specified * address. * * @param object The object which is checked for being in the array * @return A boolean whether the array contains an object with the specified * address */ -- (bool)containsObjectIdenticalTo: (nullable ObjectType)object; +- (bool)containsObjectIdenticalTo: (ObjectType)object; /*! * @brief Returns the first object of the array or `nil`. * * @warning The returned object is *not* retained and autoreleased for @@ -483,19 +483,19 @@ #endif @end @interface OFArrayEnumerator: OFEnumerator { - OFArray *_array; - size_t _count; + OFArray *_array; + size_t _count; unsigned long _mutations; - unsigned long *_mutationsPtr; - size_t _position; + unsigned long *_Nullable _mutationsPtr; + size_t _position; } - initWithArray: (OFArray *)data - mutationsPtr: (unsigned long *_Nullable)mutationsPtr; + mutationsPtr: (nullable unsigned long *)mutationsPtr; @end OF_ASSUME_NONNULL_END #import "OFMutableArray.h"