Re: looks like Intel vs. PowerPC difference
Re: looks like Intel vs. PowerPC difference
- Subject: Re: looks like Intel vs. PowerPC difference
- From: Kay Roepke <email@hidden>
- Date: Thu, 3 Aug 2006 23:41:23 +0200
On 3. Aug 2006, at 22:55 Uhr, John Stiles wrote:
That statement may be true, but I really hope Apple wouldn't do
something like that, because in practice it would result in many
apps with latent (or not-so-latent) bugs.
Well, the docs are clear about this. In "Error Handling Programming
Guide For Cocoa" it explicitely says in a Note box:
"Note: Cocoa methods that indirectly return error objects in the
Cocoa error domain are guaranteed to return such objects if the
method indicates failure by directly returning nil or NO."
see <http://developer.apple.com/documentation/Cocoa/Conceptual/
ErrorHandlingCocoa/CreateCustomizeNSError/chapter_4_section_2.html>
So, I really think this one is covered well enough. It's a bit of a
different case for OP's question, though even that is mentioned at
the very bottom of the page in the error handling guide.
-k
--
Kay Röpke <email@hidden>
classdump Software
_______________________________________________
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