>
> Incidentally I was mistakenly under the impression that -runModalForWindow:
> was deprecated.
>
You were likely thinking of -[NSApplication
runModalForWindow:relativeToWindow:], which has been superseded by
-beginSheet:modalForWindow:…. -runModalForWindow: is used to display an
application-moda
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
I want to know how NSRunAlertPanel is implemented assuming the code is also
written in Cocoa. I am curious why NSRunAlertPanel is able to run on top of a
modal dialog. Can someone please point me to the code sample or document?
Thanks.
-John
___
Cocoa-