Re: Memory Management Question
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