• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"selector ... is passed a return code and caller specified in contextInfo" ?!?!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"selector ... is passed a return code and caller specified in contextInfo" ?!?!


  • Subject: "selector ... is passed a return code and caller specified in contextInfo" ?!?!
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 17 Mar 2009 16:41:32 -0700

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 (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


  • Follow-Ups:
    • Re: "selector ... is passed a return code and caller specified in contextInfo" ?!?!
      • From: Michael Ash <email@hidden>
    • Re: "selector ... is passed a return code and caller specified in contextInfo" ?!?!
      • From: "Sean McBride" <email@hidden>
    • Re: "selector ... is passed a return code and caller specified in contextInfo" ?!?!
      • From: Graham Cox <email@hidden>
    • Re: "selector ... is passed a return code and caller specified in contextInfo" ?!?!
      • From: Alexander Spohr <email@hidden>
    • Re: "selector ... is passed a return code and caller specified in contextInfo" ?!?!
      • From: Andy Lee <email@hidden>
  • Prev by Date: Re: How to make letters appear in italics?
  • Next by Date: Re: [iPhone] NumberPad with the dot
  • Previous by thread: Re: cast to pointer from int of diff size & IODisplayCreateInfoDictionary
  • Next by thread: Re: "selector ... is passed a return code and caller specified in contextInfo" ?!?!
  • Index(es):
    • Date
    • Thread