Re: Sending messages to nil on Intel
Re: Sending messages to nil on Intel
- Subject: Re: Sending messages to nil on Intel
- From: Jim Correia <email@hidden>
- Date: Mon, 1 Aug 2005 16:32:07 -0400
On Aug 1, 2005, at 3:49 PM, Felix Schwarz wrote:
after reading this ..
http://developer.apple.com/documentation/MacOSX/Conceptual/
universal_binary/universal_binary_tips/chapter_5_section_16.html#//
apple_ref/doc/uid/TP40002217-CH239-291803
That is simply reinforcing what the objective-c language guide has
said all along:
"A message to nil also is valid, as long as the message returns an
object; if it does, a message sent to
nil returns nil. If the message sent to nil returns anything other
than an object, the return value is
undefined. "
and further pointing out that because of implementation details of
the runtime on the PowerPC, you may have gotten away with it but on
Intel-based machines, you will not.
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden