Re: Non-working selector...
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.