Re: code behind NSRunAlertPanel
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