How does the Objective-C runtime treat a property that is defined as weak
in a class, but a private category on the class defines a property of the same name and type as strong
?
Will code running in the context of the Category use the original (weak) modifier, or will it use the category defined modifier (strong)?
For example:
Name.m
@property (weak, nonatomic) NSString *name;
NameTests.m
@interface Name (Test)
@property (strong, nonatomic) NSString *name;
@end