@@ -51,21 +51,21 @@ * @return A new, autoreleased OFINIFile with the contents of the specified file */ + (instancetype)fileWithPath: (OFString *)path encoding: (of_string_encoding_t)encoding; -- init OF_UNAVAILABLE; +- (instancetype)init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated OFINIFile with the contents of the * specified file. * * @param path The path to the file whose contents the OFINIFile should contain * * @return An initialized OFINIFile with the contents of the specified file */ -- initWithPath: (OFString *)path; +- (instancetype)initWithPath: (OFString *)path; /*! * @brief Initializes an already allocated OFINIFile with the contents of the * specified file in the specified encoding. * @@ -72,12 +72,13 @@ * @param path The path to the file whose contents the OFINIFile should contain * @param encoding The encoding of the specified file * * @return An initialized OFINIFile with the contents of the specified file */ -- initWithPath: (OFString *)path - encoding: (of_string_encoding_t)encoding OF_DESIGNATED_INITIALIZER; +- (instancetype)initWithPath: (OFString *)path + encoding: (of_string_encoding_t)encoding + OF_DESIGNATED_INITIALIZER; /*! * @brief Returns an @ref OFINICategory for the category with the specified * name. *