Re: Cocoa Documentation Updated for December Tools Release
Re: Cocoa Documentation Updated for December Tools Release
- Subject: Re: Cocoa Documentation Updated for December Tools Release
- From: Matt Rollefson <email@hidden>
- Date: Mon, 14 Jan 2002 12:41:45 -0800
The problem actually arose because the original description was taken
from a Java description, and pasted into an Objective-C description
without being appropriately deconditionalized. In Java we've had a
longstanding bug about the meanings of the buttons being inverted (which
we've addressed for our next update), and of course in Java the NS
prefix is not present. Thanks again for the report; look for an update
with the next tools release, or somewhat before.
Rollie
On Sunday, January 6, 2002, at 05:42 AM, Bill Cheeseman wrote:
on 02-01-06 8:03 AM, Thomas Lachand-Robert at email@hidden wrote:
The documentation of NSBeginAlertSheet is the worse I have ever read
(even
at Apple), full of mistakes: incorrect names for the parameters,
incorrect
description, wrong declaration for sheetDidEnd and sheetDidDismiss (as
functions, though these are methods), and it indicates DefaultReturn,
etc.
, for return codes, though they are NSAlertDefaultReturn, etc.!
That's a
lot of errors for a ten lines description!
And the meaning of the "alternate" and "other" button parameters were
reversed in the textual description, last time I looked. Apple
apparently
never noticed it because none of the examples used three buttons in a
way
that would disclose the mistake.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.