On Wed, Oct 7, 2009 at 12:01 PM, David Reitter <david.reit...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to