524f0d335e
^KT-61259
23 lines
372 B
Objective-C
Vendored
23 lines
372 B
Objective-C
Vendored
#import "initWithCustomSelector.h"
|
|
|
|
@implementation TestInitWithCustomSelector
|
|
|
|
-(instancetype)initCustom {
|
|
if (self = [super init]) {
|
|
self.custom = YES;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
-(instancetype)init {
|
|
if (self = [super init]) {
|
|
self.custom = NO;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
+(instancetype)createCustom {
|
|
return [[self alloc] initCustom];
|
|
}
|
|
|
|
@end |