Index: src/OFURL.h ================================================================== --- src/OFURL.h +++ src/OFURL.h @@ -77,26 +77,27 @@ * The fragment part of the URL. */ @property OF_NULLABLE_PROPERTY (copy) OFString *fragment; /*! - * Creates a new URL. + * @brief Creates a new URL. * * @return A new, autoreleased OFURL */ + (instancetype)URL; /*! - * Creates a new URL with the specified string. + * @brief Creates a new URL with the specified string. * * @param string A string describing a URL * @return A new, autoreleased OFURL */ + (instancetype)URLWithString: (OFString*)string; /*! - * Creates a new URL with the specified string relative to the specified URL. + * @brief Creates a new URL with the specified string relative to the + * specified URL. * * @param string A string describing a URL * @param URL An URL to which the string is relative * @return A new, autoreleased OFURL */