• 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: Get the current displayed NSAlert
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Get the current displayed NSAlert (From: "Brad O'Hearne" <email@hidden>)

  • Prev by Date: Re: Get the current displayed NSAlert
  • Next by Date: Re: Get the current displayed NSAlert
  • Previous by thread: Re: Get the current displayed NSAlert
  • Next by thread: Operations Beachball
  • Index(es):
    • Date
    • Thread