Index: src/OFPair.h ================================================================== --- src/OFPair.h +++ src/OFPair.h @@ -62,15 +62,16 @@ * @param firstObject The first object for the pair * @param secondObject The second object for the pair * @return An initialized OFPair */ - (instancetype)initWithFirstObject: (nullable FirstType)firstObject - secondObject: (nullable SecondType)secondObject; + secondObject: (nullable SecondType)secondObject + OF_DESIGNATED_INITIALIZER; #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # undef FirstType # undef SecondType #endif @end OF_ASSUME_NONNULL_END #import "OFMutablePair.h" Index: src/OFTriple.h ================================================================== --- src/OFTriple.h +++ src/OFTriple.h @@ -74,11 +74,12 @@ * @param thirdObject The second object for the triple * @return An initialized OFTriple */ - (instancetype)initWithFirstObject: (nullable FirstType)firstObject secondObject: (nullable SecondType)secondObject - thirdObject: (nullable ThirdType)thirdObject; + thirdObject: (nullable ThirdType)thirdObject + OF_DESIGNATED_INITIALIZER; #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # undef FirstType # undef SecondType # undef ThirdType #endif