Last active
April 30, 2019 07:43
-
-
Save hlung/3568dcc4351a8bc8831413bab974c540 to your computer and use it in GitHub Desktop.
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__((objc_subclassing_restricted)) | |
__attribute__((swift_name("PokeApi"))) | |
@interface AppPokeApi : KotlinBase | |
- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); | |
+ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); | |
- (void)getPokemonListSuccess:(AppKotlinUnit *(^)(NSArray<AppPokemonEntry *> *))success failure:(AppKotlinUnit *(^)(AppKotlinThrowable * _Nullable))failure __attribute__((swift_name("getPokemonList(success:failure:)"))); | |
@end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment