Use instancetype.
This commit is contained in:
parent
4fead04d9a
commit
9ae39edeb4
32 changed files with 153 additions and 153 deletions
|
@ -47,9 +47,9 @@
|
|||
* \param name The name of the identity
|
||||
* \return A new autoreleased XMPPDiscoIdentity
|
||||
*/
|
||||
+ identityWithCategory: (OFString*)category
|
||||
type: (OFString*)type
|
||||
name: (OFString*)name;
|
||||
+ (instancetype)identityWithCategory: (OFString*)category
|
||||
type: (OFString*)type
|
||||
name: (OFString*)name;
|
||||
|
||||
/**
|
||||
* \brief Creates a new autoreleased XMPPDiscoIdentity with the specified
|
||||
|
@ -59,8 +59,8 @@
|
|||
* \param type The type of the identity
|
||||
* \return A new autoreleased XMPPDiscoIdentity
|
||||
*/
|
||||
+ identityWithCategory: (OFString*)category
|
||||
type: (OFString*)type;
|
||||
+ (instancetype)identityWithCategory: (OFString*)category
|
||||
type: (OFString*)type;
|
||||
|
||||
/**
|
||||
* \brief Initializes an already allocated XMPPDiscoIdentity with the specified
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue