On Thu, Dec 24, 2009 at 5:13 PM, Greg Parker <[email protected]> wrote: > > More precisely, there's exactly one short-circuit check and thus only one > selector value. Under GC, @selector(retain) == @selector(release) == > @selector(autorelease) == @selector(dealloc) == @selector(retainCount). > Happily, `return self` works to implement all of those.
Just out of curiosity, is that really a short-circuit in the message-passing machinery, or are all those selectors simply registered to point to the same IMP function? A useless bit of knowledge for us end-users, I know, but interesting just the same. > Greg Parker [email protected] Runtime Wrangler I think that should be "Wruntime Wrangler." :-) sherm-- -- Cocoa programming in Perl: http://www.camelbones.org _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
