kyonifer
12/02/2018, 3:25 PMclass Foo
, this gets added to the generated .h
and seems to work fine. It seems like if I try to subclass an objective c class, such as class MyViewController : UIViewController
, the symbol disappears from the .h
and then swift can't see it. Is this expected behavior? Am I missing something here?kyonifer
12/02/2018, 3:26 PM@ExportObjCClass
class Foo: UIViewController {
@OverrideInit constructor(coder: NSCoder) : super(coder)
val bar = 1
}
svyatoslav.scherbina
12/03/2018, 8:33 AMlouiscad
12/03/2018, 9:10 AMsvyatoslav.scherbina
12/03/2018, 9:54 AMkyonifer
12/03/2018, 4:49 PMkyonifer
12/03/2018, 4:51 PMsvyatoslav.scherbina
12/04/2018, 2:37 PM