If I have a property like this:
//test.h @interface test @property (nonatomic, readonly, weak) NSObject x; @end
redefined in the implementation file for reading / writing:
// test.m @interface test () @property (nonatomic, readwrite) NSObject x; @end
I used weak in .h, but I did not say anything in the extension, will the property contain a βweakβ specifier, or will it change to βstrongβ?
Will the strong / assign / weak keywords be overwritten when overriding a property?
source share