Index: src/OFMutableString.h ================================================================== --- src/OFMutableString.h +++ src/OFMutableString.h @@ -91,20 +91,22 @@ - (void)appendString: (OFString*)string; /** * \brief Appends a formatted string to the OFMutableString. * - * See printf for the format syntax. + * See printf for the format syntax. As an addition, %@ is available as format + * specifier for objects. * * \param format A format string which generates the string to append */ - (void)appendFormat: (OFConstantString*)format, ...; /** * \brief Appends a formatted string to the OFMutableString. * - * See printf for the format syntax. + * See printf for the format syntax. As an addition, %@ is available as format + * specifier for objects. * * \param format A format string which generates the string to append * \param arguments The arguments used in the format string */ - (void)appendFormat: (OFConstantString*)format Index: src/OFStream.h ================================================================== --- src/OFStream.h +++ src/OFStream.h @@ -666,18 +666,24 @@ */ - (size_t)writeLine: (OFString*)string; /** * Writes a formatted string into the stream. + * + * See printf for the format syntax. As an addition, %@ is available as format + * specifier for objects. * * \param format A string used as format * \return The number of bytes written */ - (size_t)writeFormat: (OFConstantString*)format, ...; /** * Writes a formatted string into the stream. + * + * See printf for the format syntax. As an addition, %@ is available as format + * specifier for objects. * * \param format A string used as format * \param arguments The arguments used in the format string * \return The number of bytes written */ Index: src/OFString.h ================================================================== --- src/OFString.h +++ src/OFString.h @@ -204,11 +204,13 @@ byteOrder: (of_endianess_t)byteOrder length: (size_t)length; /** * Creates a new OFString from a format string. - * See printf for the format syntax. + * + * See printf for the format syntax. As an addition, %@ is available as format + * specifier for objects. * * \param format A string used as format to initialize the OFString * \return A new autoreleased OFString */ + stringWithFormat: (OFConstantString*)format, ...; @@ -402,20 +404,24 @@ byteOrder: (of_endianess_t)byteOrder length: (size_t)length; /** * Initializes an already allocated OFString with a format string. - * See printf for the format syntax. + * + * See printf for the format syntax. As an addition, %@ is available as format + * specifier for objects. * * \param format A string used as format to initialize the OFString * \return An initialized OFString */ - initWithFormat: (OFConstantString*)format, ...; /** * Initializes an already allocated OFString with a format string. - * See printf for the format syntax. + * + * See printf for the format syntax. As an addition, %@ is available as format + * specifier for objects. * * \param format A string used as format to initialize the OFString * \param arguments The arguments used in the format string * \return An initialized OFString */