• 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: NSAlert - multiple key equivalents for buttons?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAlert - multiple key equivalents for buttons?


  • Subject: Re: NSAlert - multiple key equivalents for buttons?
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 7 Oct 2009 12:12:25 -0700

On Wed, Oct 7, 2009 at 12:01 PM, David Reitter <email@hidden> wrote:
> I meant NSObject's -copy.  Confused it with Java's clone method.

NSWindow doesn't conform to NSCopying anyway, so -copy will just raise
an exception because there is no suitable implementation of
-copyWithZone:.

> FWIW, the alerts are run with beginModalSessionForWindow and
> runModalSession.

So I don't understand why you're so intent on using NSAlert if you're
not using its -beginSheetModalForWindow:… convenience method?

> Would it be possible to add a control to the alert that is invisible, but
> has the desired extra keyEquivalent?

Sure, if you feel like confusing all your accessibility and VoiceOver
users with spurious invisible controls.

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: NSAlert - multiple key equivalents for buttons?
      • From: David Reitter <email@hidden>
References: 
 >NSAlert - multiple key equivalents for buttons? (From: David Reitter <email@hidden>)
 >Re: NSAlert - multiple key equivalents for buttons? (From: Jens Alfke <email@hidden>)
 >Re: NSAlert - multiple key equivalents for buttons? (From: David Reitter <email@hidden>)
 >Re: NSAlert - multiple key equivalents for buttons? (From: Kyle Sluder <email@hidden>)
 >Re: NSAlert - multiple key equivalents for buttons? (From: David Reitter <email@hidden>)

  • Prev by Date: Re: Alert prompts for BetterAuthorizationService
  • Next by Date: Re: Strange Core Data problem after upgrade
  • Previous by thread: Re: NSAlert - multiple key equivalents for buttons?
  • Next by thread: Re: NSAlert - multiple key equivalents for buttons?
  • Index(es):
    • Date
    • Thread