skip to Main Content

Xcode – Protected variable in an objective c super class is inaccessible in a swift subclass

@interface MyObjectiveCmainClass { @protected NSMutableArray* thisStringIsInaccessibleInSwiftSubclasses;//this I can't access in swift subclass } @property NSString* thisStringIsAccessibleInSwiftSubclasses;//this I can access in swift subclass - (void) thisMethodIsAccessibleInSwiftSubclasses;//this too I can access in Swift subclass @end class MySwiftSubclass : MyObjectiveCmainClass { override func…

VIEW QUESTION
Back To Top
Search