Re: Get the current displayed NSAlert
Re: Get the current displayed NSAlert
- Subject: Re: Get the current displayed NSAlert
- From: Peter <email@hidden>
- Date: Tue, 04 Dec 2012 08:12:55 +0100
Do you mean something like
[[self window] attachedSheet]
Am 04.12.2012 um 02:13 schrieb Brad O'Hearne:
> Hello all,
>
> Is there a way to get a reference to the currently displayed modal NSAlert, or to be able to globally determine if a modal alert is presently showing in a Cocoa app, though you have no knowledge of where in the app it originated from?
>
> Thanks,
>
> Brad
>
> Brad O'Hearne
> Founder/Lead Developer
> Big Hill Software LLC
> http://www.bighillsoftware.com
>
>
>
>
> _______________________________________________
>
> 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
>
_______________________________________________
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