Slide 122
Slide 122 text
#import
@class KSPSupport, KSPMyEnum, KSPStdlibEnum, KSPOtherEnum, KSPSlideEntity, KSPSlideEntityPage, KSPMarkdownEntity, KSPMarkdownEntityItalic, KSPMarkdownEntityBold;
@class KSPMarkdownEntityHeader, KSPMarkdownEntityInlineCode, KSPMarkdownEntityCodeBlock, KSPMarkdownEntityLinks;
@class KSPMarkdownEntityPlain, KSPMarkdownEntityRefer, KSPMarkdownEntityDelete, KSPSlideParser;
@protocol KSPStdlibComparable;
NS_ASSUME_NONNULL_BEGIN
@interface KotlinBase : NSObject
-(instancetype) init __attribute__((unavailable));
+(instancetype) new __attribute__((unavailable));
+(void)initialize __attribute__((objc_requires_super));
@end;
@interface KotlinBase (KotlinBaseCopying)
@end;
__attribute__((objc_runtime_name("KotlinMutableSet")))
@interface KSPMutableSet : NSMutableSet
@end;
__attribute__((objc_runtime_name("KotlinMutableDictionary")))
@interface KSPMutableDictionary : NSMutableDictionary
@end;
__attribute__((objc_subclassing_restricted))
@interface KSPSupport : KotlinBase
-(instancetype)init NS_SWIFT_NAME(init()) NS_DESIGNATED_INITIALIZER;
-(NSNumber* _Nullable)optionalInt NS_SWIFT_NAME(optionalInt());
-(void)somethingThatThrows NS_SWIFT_NAME(somethingThatThrows());
@end;
@protocol KSPStdlibComparable
@required
-(int32_t)compareToOther:(id _Nullable)other NS_SWIFT_NAME(compareTo(other:));
@end;
NS_ASSUME_NONNULL_END