• 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: menu madness with retain count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: menu madness with retain count


  • Subject: Re: menu madness with retain count
  • From: Scott Ribe <email@hidden>
  • Date: Tue, 27 Apr 2010 14:33:44 -0600

On Apr 27, 2010, at 1:57 PM, Jens Alfke wrote:

> That sounds like an optimization in the runtime to avoid a couple of message-sends. You shouldn't override -retain or -release or make assumptions about how many times they're called; those are implementation details.

Actually, you can override retain & release. If there's any optimization in the runtime to avoid multiple release calls, it must be only be enabled for objects that do not override release.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

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

References: 
 >menu madness with retain count (From: Bill Appleton <email@hidden>)
 >Re: menu madness with retain count (From: Graham Cox <email@hidden>)
 >Re: menu madness with retain count (From: Bill Appleton <email@hidden>)
 >Re: menu madness with retain count (From: Jens Alfke <email@hidden>)
 >Re: menu madness with retain count (From: vincent habchi <email@hidden>)
 >Re: menu madness with retain count (From: Scott Ribe <email@hidden>)
 >Re: menu madness with retain count (From: vincent habchi <email@hidden>)
 >Re: menu madness with retain count (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: menu madness with retain count
  • Next by Date: Re: white screen windows at first
  • Previous by thread: Re: menu madness with retain count
  • Next by thread: Re: menu madness with retain count
  • Index(es):
    • Date
    • Thread