Sam
12/28/2018, 4:09 AMclass Exports() {
var libraryTypeA: LibaryTypeA? = null
}
//LibraryTypeA is declared in library as extending NSOBject
class LibraryTypeA(): NSObject(): AnObjCDelegate {
//Some methods
}
The generated header in the app framework was exposing the type of libraryTypeA
as NSObject and not LibraryTypeA
. The reason I was inheriting from NSObject was because I was implementing a delegate declared in an ObjC Framework (CoreBluetooth). I'm able to work around this by encapsulating the delegate into an internal object. Is there a way to force the exported type declaration to be LibraryTypeA
instead of NSObject
?olonho
12/28/2018, 6:16 AMlouiscad
06/22/2019, 9:02 PMSam
06/22/2019, 9:10 PM