Use instancetype.
This commit is contained in:
parent
4fead04d9a
commit
9ae39edeb4
32 changed files with 153 additions and 153 deletions
|
@ -45,7 +45,7 @@
|
|||
*
|
||||
* \return A new autoreleased XMPPJID
|
||||
*/
|
||||
+ JID;
|
||||
+ (instancetype)JID;
|
||||
|
||||
/**
|
||||
* \brief Creates a new autoreleased XMPPJID from a string.
|
||||
|
@ -53,7 +53,7 @@
|
|||
* \param string The string to parse into a JID object
|
||||
* \return A new autoreleased XMPPJID
|
||||
*/
|
||||
+ JIDWithString: (OFString*)string;
|
||||
+ (instancetype)JIDWithString: (OFString*)string;
|
||||
|
||||
/**
|
||||
* \brief Initializes an already allocated XMPPJID with a string.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue