On Feb 17, 2014, at 2:08 , Clark Smith Cox III <[email protected]> wrote:
>> I didn't say take them out. I said why do they need to return an >> autoreleased object. > > Because they always have, and their semantics cannot be changed without > breaking decades worth of non-ARC code. Sort of like the way GC did, where you had to have 2 versions of every framework, the GC version and the non-GC version. If you had 2 versions of every framework and the compiler enforced a no autorelease rule, then you could have what you want. However, one of the big points of ARC was to not require 2 versions of every framework, but instead provide compatibility between ARC and non-ARC code. Therefore all the old requirements for autorelease, which have been explained so well by various posters, apply. Cheers, Marcel _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
