aljosa
06/25/2019, 2:06 PMribesg
06/25/2019, 2:17 PMaljosa
06/25/2019, 2:23 PMribesg
06/25/2019, 2:29 PMribesg
06/25/2019, 2:29 PMribesg
06/25/2019, 2:30 PMribesg
06/25/2019, 2:30 PMaljosa
06/25/2019, 2:31 PMribesg
06/25/2019, 2:31 PMSam
06/25/2019, 2:31 PMribesg
06/25/2019, 2:32 PMaljosa
06/25/2019, 2:33 PMSam
06/25/2019, 2:33 PMaljosa
06/25/2019, 2:34 PMSam
06/25/2019, 2:55 PM-(NSInteger) add:(NSInteger) x (NSInteger) y;
-(NSInteger) add:(NSInteger) a (NSInteger) b;
There's a kotlin compiler override to allow a class implementing that interface/protocol to compile.
Another slightly less edge case scenario is inheritance. Any Kotlin class inheriting from an ObjC/Swift class will be final. You can't for instance have a BaseUIViewController.kt that your other kotlin classes would inherit from.
For more info check out https://github.com/JetBrains/kotlin-native/blob/master/OBJC_INTEROP.md