• 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
Re: Non-working selector...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-working selector...


  • Subject: Re: Non-working selector...
  • From: Sherm Pendley <email@hidden>
  • Date: Mon, 31 Mar 2003 06:01:44 -0500

On Monday, March 31, 2003, at 04:10 AM, Stiphane Sudre wrote:

On Monday, March 31, 2003, at 10:31 AM, Pete Parks wrote:

What am I doing wrong here?
- (void)showUpdateDialog: (NSWindow *)window panelPtr: (id) panel {
if (! panel)
[NSBundle loadNibNamed: nibString owner: self];

[NSApp beginSheet: panel
modalForWindow: window
modalDelegate: nil
didEndSelector: @selector(clickedButtonInPanel:
)
contextInfo: nil ];

Your selector is not of the correct kind.

Also - you're passing 'nil' as the modalDelegate argument. You should be passing the object to which the message specified by didEndSelector will be sent.

sherm--
_______________________________________________
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.

References: 
 >Re: Non-working selector... (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Calling Carbon Bundle
  • Next by Date: CFBundleTypeExtensions for folders?
  • Previous by thread: Re: Non-working selector...
  • Next by thread: Calling Carbon Bundle
  • Index(es):
    • Date
    • Thread