• 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: code behind NSRunAlertPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: code behind NSRunAlertPanel


  • Subject: Re: code behind NSRunAlertPanel
  • From: Graham Cox <email@hidden>
  • Date: Wed, 22 Apr 2009 11:53:18 +1000


On 22/04/2009, at 9:22 AM, John Yeh wrote:

Can someone please point me to the code sample or document?


[NSApplication beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo];

Does it for me...


Incidentally I was mistakenly under the impression that - runModalForWindow: was deprecated. That's not the case, but nevertheless I've never used it, I've always used the above method and it works fine even to display sheets on other dialogs and floating panels.



--Graham


_______________________________________________

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: code behind NSRunAlertPanel
      • From: "Jeremy W. Sherman" <email@hidden>
References: 
 >code behind NSRunAlertPanel (From: John Yeh <email@hidden>)

  • Prev by Date: Re: Modal dialog over modal dialog in Cocoa
  • Next by Date: Re: Modal dialog over modal dialog in Cocoa
  • Previous by thread: code behind NSRunAlertPanel
  • Next by thread: Re: code behind NSRunAlertPanel
  • Index(es):
    • Date
    • Thread