• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Releasing Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Releasing Objects


  • Subject: Re: Releasing Objects
  • From: Sherm Pendley <email@hidden>
  • Date: Thu, 24 Dec 2009 18:16:26 -0500

On Thu, Dec 24, 2009 at 5:13 PM, Greg Parker <email@hidden> 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@hidden     Runtime Wrangler

I think that should be "Wruntime Wrangler." :-)

sherm--

--
Cocoa programming in Perl:
http://www.camelbones.org
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Releasing Objects
      • From: Greg Parker <email@hidden>
    • Re: Releasing Objects
      • From: Joar Wingfors <email@hidden>
References: 
 >Releasing Objects (From: Michael Craig <email@hidden>)
 >Re: Releasing Objects (From: Franck Zoccolo <email@hidden>)
 >Re: Releasing Objects (From: Bill Bumgarner <email@hidden>)
 >Re: Releasing Objects (From: John Engelhart <email@hidden>)
 >Re: Releasing Objects (From: Ken Thomases <email@hidden>)
 >Re: Releasing Objects (From: Greg Parker <email@hidden>)

  • Prev by Date: MallocDebug Hang with Core Data Save
  • Next by Date: Re: n00b Q re: AppController
  • Previous by thread: Re: Releasing Objects
  • Next by thread: Re: Releasing Objects
  • Index(es):
    • Date
    • Thread