Semantic Issue: Property’s synthesized getter follows Cocoa naming convention for returning ‘owned’ objects

My guess is that the compiler version you’re using follows the memory management rules for declared properties, too — more specifically, for declared properties’ accessors: You take ownership of an object if you create it using a method whose name begins with “alloc”, “new”, “copy”, or “mutableCopy”. A property named newTitle, when synthesised, yields a … Read more

Objective-C ARC: strong vs retain and weak vs assign

After reading so many articles Stackoverflow posts and demo applications to check variable property attributes, I decided to put all the attributes information together: atomic //default nonatomic strong=retain //default weak retain assign //default unsafe_unretained copy readonly readwrite //default Below is the detailed article link where you can find above mentioned all attributes, that will definitely … Read more