Top "Declared-property" questions

In Objective-C, declared properties are a convenient way to replace the declaration and manual implementation of accessor methods for objects.

Objective-C declared @property attributes (nonatomic, copy, strong, weak)

Can someone explain to me in detail when I must use each attribute: nonatomic, copy, strong, weak, and so on, …

objective-c automatic-ref-counting declared-property
Expose a private Objective-C method or property to subclasses

According to some official talk, a class in Objective-C should only expose public methods and properties in its header: @interface …

objective-c inheritance subclass visibility declared-property
Do declared properties require a corresponding instance variable?

Do properties in Objective-C 2.0 require a corresponding instance variable to be declared? For example, I'm used to doing something like …

objective-c instance-variables declared-property
Does @synchronized(self) create a block where the self prefix is unecessary on properties?

I have read something in some foreign code and I want to check my assumption: @synchronized(self) is used to …

objective-c synchronized self declared-property
Get property name as a string

I need a way to pass a property and get the name assigned to it. Any suggestions? @property (nonatomic, retain) …

objective-c introspection objective-c-runtime declared-property
Should an NSString property under ARC be strong or copy?

When not compiling with ARC, it is recommended to use copy properties for data types such as NSString. I could …

objective-c cocoa-touch automatic-ref-counting declared-property
myView.frame.origin.x = value; does not work - But why?

I know that I can't use this: myView.frame.origin.x = 25.0; and that I have to use this instead: CGRect …

objective-c struct variable-assignment declared-property
Access Objective-C property dynamically using the name of the property

I know the string name of a property of an object. How would I go about getting and setting that …

objective-c reflection key-value-coding declared-property