Created
November 29, 2019 14:52
-
-
Save Alex009/8ce7c23c26111ec9a0a8ba3bd7e0a7a3 to your computer and use it in GitHub Desktop.
K/N generics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__attribute__((swift_name("WidgetsWidget"))) | |
@interface MPLWidgetsWidget<WS> : KotlinBase | |
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); | |
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); | |
- (MPLWidgetsViewBundle<WS> *)buildViewViewFactoryContext:(UIViewController *)viewFactoryContext __attribute__((swift_name("buildView(viewFactoryContext:)"))); | |
@property (readonly) WS size __attribute__((swift_name("size"))); | |
@end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment