I’m learning Objective-C and the Cocoa Framework (via Aaron Hillgass’ book) and trying to figure out why the following line includes the “strong” identifier.
@property (strong) NSManagedObjectContext *managedObjectContext;
As I understand it, strong is the default so why do I need to explicitly declare it?
You can declare it without writing anything, But what happens when you come back to code or some other developer looks at your code?
You might have the knowledge that the default will be set to strong, but junior level programmer will get so confused to determine whether the declared variable is strong or weak.