Recommended way to declare delegate properties with ARC

Xcode 4 Refactor > Convert to Objective-C ARC transforms: @interface XYZ : NSObject { id delegate; } @property (assign) id delegate; … @synthesize delegate; into: @interface XYZ : NSObject { id __unsafe_unretained delegate; } @property (unsafe_unretained) id delegate; … @synthesize delegate; If I remember correctly it is also mentioned in WWDC 2011 video about ARC.

@autoreleasepool without ARC?

From http://clang.llvm.org/docs/AutomaticReferenceCounting.html#autoreleasepool: @autoreleasepool may be used in non-ARC translation units, with equivalent semantics. and Greg Parker says [1] [2]: LLVM 3.0’s @autoreleasepool { … } is much faster than NSAutoreleasePool if your deployment target is new enough. No ARC required. (…) always works, but it’s faster with deployment target of OS X 10.7 or iOS … Read more

tech