Hi Bill,

On Sep 12, 2013, at 18:57 , Bill Cheeseman <wjcheese...@gmail.com> wrote:

> As I recall, [Ali’s technote] stated that the "return [[x retain] 
> autorelease]" pattern is preferred for getters and gave many reasons for 
> preferring it. I understand that @synchronize generates getters that comply 
> with this preference, and I also recall that some of the early documentation 
> about properties discussed this convention.

I think you meant the ‘atomic' property modifier.   Note that the iOS team did 
not agree with Ali on this, due to the ginormous performance penalties in both 
CPU and memory: they made ‘nonatomic’ the standard for iOS, despite the fact 
that the language defaults to ‘atomic' and you therefore have to type 
‘nonatomic' every time.

Now considering the relative installed bases...

Marcel
p.s.: If I understand it correctly, ARC’s magic un-autoreleaser largely 
ameliorates the perf. problems

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to