• 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: beginSheet:ModalForWindow:modalDelegate:didEndSelector:contextInfo: in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >beginSheet:ModalForWindow:modalDelegate:didEndSelector:contextInfo: in Leopard (From: Damian Terentiev <email@hidden>)

  • Prev by Date: beginSheet:ModalForWindow:modalDelegate:didEndSelector:contextInfo: in Leopard
  • Next by Date: NSTextfield value doesn't update binding when set programmatically
  • Previous by thread: beginSheet:ModalForWindow:modalDelegate:didEndSelector:contextInfo: in Leopard
  • Next by thread: NSTextfield value doesn't update binding when set programmatically
  • Index(es):
    • Date
    • Thread