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

I’m currently using the iOS 5 SDK trying to develop my app. I’m trying to make an NSString a property, and then to synthesize it in the .m file (I have done this before with no issues). Now, I came across this: “Semantic Issue: Property’s synthesized getter follows Cocoa naming convention for returning ‘owned’ objects.” … Read more

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

There are two new memory management attributes for properties introduced by ARC, strong and weak. Apart from copy, which is obviously something completely different, are there any differences between strong vs retain and weak vs assign? From my understanding, the only difference here is that weak will assign nil to the pointer, while assign won’t, … Read more