NSScreencast Episode #9 Automatic Reference Counting
Automatic Reference Counting - NSScreencast
- Erase [ autorelease/release/retain/dealloc]
- Erase dealloc method, @property, retain/etc..
- Menu : Edit > Refactor > Objective-C ARC -> diff
- @property assign -> unsafe_unretained, weak (iOS5)
- Build Settings - search [automatic reference]
- CFStringRef CFSTR , __bridge
- __bridge_transfer
- For legacy third party lib not compatible with ARC
- Create Utility file to convert and Disable ARC option in settings