Re: Renaming the "Cancel" button for NSOpenPanel
Re: Renaming the "Cancel" button for NSOpenPanel
- Subject: Re: Renaming the "Cancel" button for NSOpenPanel
- From: Severin Kurpiers <email@hidden>
- Date: Sat, 17 Mar 2007 15:05:05 +0100
The variable _cancelButton is publicly exposed in NSSavePanel, the
super class of NSOpenPanel. I guess that it should be OK to use it
this way.
Bye,
Severin Kurpiers
On 17.03.2007, at 11:50, Uli Kusterer wrote:
Am 17.03.2007 um 09:18 schrieb Severin Kurpiers:
This is only the idea, there is of course some fine-tuning
necessary. The usual disclaimer (no warranty etc.) applies.
In particular, the -cancelButton variable isn't publicly exposed,
so Apple may re-puprose it for something else at their leisure. So
be aware you're introducing the possibility of weird errors or even
crashes or memory smashers in future system versions by accessing a
private ivar directly.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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