Accessory for implementing properties

Is there any documentation on how the compiler automatically generates property attributes?

When writing custom accessories (overriding synthesized ones), it would be nice to know the original implementation. Especially to see different implementations of accessories for properties with different attributes (weak / strong / persistent / copy, etc.).

+3
source share
1 answer

Is there any documentation on how the compiler automatically generates property accessors?

The compiler simply adds a call to C. Peek at asm (for example, _objc_getPropertyand _objc_setProperty).

( ) . , (/// ..).

objc, http://www.opensource.apple.com/source/objc4/.

+3

All Articles