The DCIntrospect library made ARC & iOS6 compatible.
Despite having several ports to ARC to the DCIntrospect project, i've done my own filling my needs. Original project can be found here.
- Changed all property definitions to use the new strong/weak.
- Deleted all @synthesize properties and used local properties as _myProperty instead of self.myProperty.
- Deleted all non-ARC code like autorelease, [super dealloc] and such.
- Added a checking in all files to not include them in a Release version of the App, only in Debug mode.
Add the all files to your project, and the QuartzCore framework.
Then to start the library:
[window makeKeyAndVisible];
#if TARGET_IPHONE_SIMULATOR
[[DCIntrospect sharedIntrospector] start];
#endif
The #if
sentence is not required, but a good idea to have it to prevent leaving it on production code.
Then simply run the app and push space bar to invoke the DCIntrospect.
Rest of documentation can be found in the original project source