Under "See Also" is endSheet:returnCode:, the docs for which do explain the returnCode, which presumably has the same meaning. Yeah, this fact is discoverable, but it couldn't hurt to submit feedback saying it wasn't obvious.

--Andy

On Mar 17, 2009, at 7:41 PM, Jerry Krinock wrote:

In documentation for method

-[NSApplication beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:]

I read:

"The didEndSelector ... is invoked after the modal session has ended and is passed a return code and caller specified in contextInfo. didEndSelectorshould have the following signature:

  - (void)sheetDidEnd:(NSWindow *)sheet
           returnCode:(int)returnCode
          contextInfo:(void *)contextInfo ;"

Well, as it says in the feedback form, "This document is missing information." I guess that contextInfo is a pass-thru. But what in the world is the returnCode? My didEndSelector always seem to get -1000.

Someone tell me please the missing information and I'll submit the feedback.

Sincerely,

Jerry Krinock


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/aglee%40mac.com

This email sent to ag...@mac.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to