Edit me

dynamic

Indicate that a property is not backed by an ivar. This is useful for forwarding properties.

@property( copy, dynamic) NSString   *bar;

E.g.

- (void) setBar:(NSString *) s
{
   [_other setBar:s];
}

serializable

Indicate that a property should be serialized by NSCoder, MulleEOF or some other persistence method. Then -initWithCoder:, -encodeWithCoder: do not need to be written but can be inherited from the NSCoder protocol running on properties only. The optional value can be used to indicate the destination class.

@property( assign, serializable=Bar) NSArray   *foo;

container

A property backed by a container gains two additional methods. If the property is called “foos”, the two methods will be addToFoos: and removeFromFoos:. These will call addObject: and removeObject: on the instance variable respectively.

@property( container) NSArray   *foos;
Tags: runtime 8.0.0