• 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: Close a alert sheet programatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Close a alert sheet programatically


  • Subject: Re: Close a alert sheet programatically
  • From: Denis Defreyne <email@hidden>
  • Date: Thu, 6 Jan 2005 21:02:25 +0100

On 06 Jan 2005, at 20:35, Thomas Davie wrote:

Possibly a slightly better approach though (and one that isn't deprecated) is to use the NSAlert class and use NSApp to close it.

NSAlert is only available on 10.3 though. If the rest of the program doesn't require 10.3, use my approach. If you're using something that requires 10.3 (such as Cocoa Bindings), bob's approach seems better. :)


Regards,

amon-re

--
mail: email@hidden
web: http://www.amonre.org/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Close a alert sheet programatically (From: Denis Defreyne <email@hidden>)
 >Re: Close a alert sheet programatically (From: Thomas Davie <email@hidden>)

  • Prev by Date: Default Button heartBeat bug
  • Next by Date: Re: #ifdef/build style question
  • Previous by thread: Re: Close a alert sheet programatically
  • Next by thread: Re: Undo logic location?
  • Index(es):
    • Date
    • Thread