Files
kotlin-fork/native/native.tests/testData/interop/objc/tests/initWithCustomSelector.m
T
2024-01-31 16:17:21 +00:00

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