Re: beginSheet:ModalForWindow:modalDelegate:didEndSelector:contextInfo: in Leopard
Re: beginSheet:ModalForWindow:modalDelegate:didEndSelector:contextInfo: in Leopard
- Subject: Re: beginSheet:ModalForWindow:modalDelegate:didEndSelector:contextInfo: in Leopard
- From: glenn andreas <email@hidden>
- Date: Fri, 11 Jan 2008 12:32:10 -0600
On Jan 11, 2008, at 12:21 PM, Damian Terentiev wrote:
Hi!
I have a problem calling a custom sheet in Leopard.
When I call
[NSApp beginSheet:panel
ModalForWindow:window
modalDelegate:self
didEndSelector:@selector(didEndSheet:returnCode:contextInfo:)
contextInfo:info];
I get a no '-
beginSheet:ModalForWindow:modalDelegate:didEndSelector:contextInfo:'
method found warning and it doesn't work.
The documentation about sheets was not updated for Leopard.
Is it a bug and is there any workaround?
Yours,
Damian Terentiev
It's "modalForWindow" not "ModalForWindow" - all Cocoa selectors
fragments start with lower-case characters (unless it is an
abbreviation)
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium | prime : build, mutate, evolve, animate : the next
generation of fractal art
_______________________________________________
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