Mac Dev Center: Objective-C 2.0 Runtime Programming Guide: Declared Properties
documentation on reflection in objective-C
property_getAttributes include – Google Search
reflection in Objective-C
The Property structure defines an opaque handle to a property descriptor.
typedef struct objc_property *Property;
You can use the functions class_copyPropertyList and protocol_copyPropertyList to retrieve an
array of the properties associated with a class (including loaded categories) and a protocol respectively:
objc_property_t *class_copyPropertyList(Class cls, unsigned int *outCount)
objc_property_t *protocol_copyPropertyList(Protocol *proto, unsigned int
*outCount)
For example, given the following class declaration:
Read more on property_getAttributes include – Google Search…
Mac Dev Center: What’s New In Mac OS X: Mac OS X v10.6
You support improved shutdown in your application by calling the enableSuddenTermination and disableSuddenTermination methods in NSProcessInfo. These are intended to be used as paired calls. Call disableSuddenTermination when you have work that must be done before quitting, and enableSuddenTermination when that work is done.
Read more on Mac Dev Center: What’s New In Mac OS X: Mac OS X v10.6…