In my objective c code, I try to set the super class property by
super.aProperty = something;
But I get this error "Property 'aProperty' not found on object of type 'MySuperClass'.
In my MySuperClass.m, I have
@interface MySuperClass ()
@property (strong, nonatomic) SomeProperty *aProperty;
@end
Can you please tell me why 'super.aProperty = something' is not working?
Thank you.
Update:
I tried move this line "@property (strong, nonatomic) SomeProperty *aProperty;" to .h.
But I get error saying 'Unknown type name 'SomeProperty' did you mean'SomeOtherProperty'? I have #include SomeProperty.h in my .h file.