Use instancetype.
This commit is contained in:
parent
4fead04d9a
commit
9ae39edeb4
32 changed files with 153 additions and 153 deletions
|
@ -27,13 +27,13 @@
|
|||
#import "XMPPEXTERNALAuth.h"
|
||||
|
||||
@implementation XMPPEXTERNALAuth: XMPPAuthenticator
|
||||
+ EXTERNALAuth
|
||||
+ (instancetype)EXTERNALAuth
|
||||
{
|
||||
return [[[self alloc] initWithAuthcid: nil
|
||||
password: nil] autorelease];
|
||||
}
|
||||
|
||||
+ EXTERNALAuthWithAuthzid: (OFString*)authzid
|
||||
+ (instancetype)EXTERNALAuthWithAuthzid: (OFString*)authzid
|
||||
{
|
||||
return [[[self alloc] initWithAuthzid: authzid
|
||||
authcid: nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue