• 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: Memory Management Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Management Question


  • Subject: Re: Memory Management Question
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 2 Jul 2007 23:52:53 +0200

On 02.07.2007, at 18:06, Clark Cox wrote:
Well, if the object is already nil, then sending a message to it is
essentially a no-op; so your check is probably redundant.

That's not quite true. It's only a no-op if it returns nothing (void) a pointer (id, or other object), or an int. If it returns anything else, messages to NIL are undefined.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

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: Memory Management Question
      • From: Alastair Houghton <email@hidden>
References: 
 >Memory Management Question (From: Seth Pellegrino <email@hidden>)
 >Re: Memory Management Question (From: "Clark Cox" <email@hidden>)

  • Prev by Date: Re: Cocoa and dead-code stripping
  • Next by Date: Re: Menubar windows are under other apps
  • Previous by thread: Re: Memory Management Question
  • Next by thread: Re: Memory Management Question
  • Index(es):
    • Date
    • Thread