Use instancetype.
This commit is contained in:
parent
4fead04d9a
commit
9ae39edeb4
32 changed files with 153 additions and 153 deletions
|
@ -33,12 +33,12 @@
|
|||
#import "XMPPExceptions.h"
|
||||
|
||||
@implementation XMPPJID
|
||||
+ JID
|
||||
+ (instancetype)JID
|
||||
{
|
||||
return [[[self alloc] init] autorelease];
|
||||
}
|
||||
|
||||
+ JIDWithString: (OFString*)string
|
||||
+ (instancetype)JIDWithString: (OFString*)string
|
||||
{
|
||||
return [[[self alloc] initWithString: string] autorelease];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue