My current Prefix.pch file
I have posted and discussed this file a few times but as with all things it has been touched, tweaked, and generally improved upon.
In this article we will discuss the latest iteration of my Prefix.pch file. As with anything I post, it is available for you to use as you see fit.
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…
json-framework – Project Hosting on Google Code
json parser for objective c
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…