Re: Key Binding action methods not declared in public headers
Re: Key Binding action methods not declared in public headers
- Subject: Re: Key Binding action methods not declared in public headers
- From: Douglas Davidson <email@hidden>
- Date: Fri, 8 Aug 2008 13:44:41 -0700
On Aug 7, 2008, at 2:51 PM, Ross Carter wrote:
I am mighty tempted to use
performSelector:@selector(moveToEndOfDocumentAndModifySelection:);
after all, the action method is right there in
StandardKeyBinding.plist for all the world to see. On the other
hand, it is not in a public header and when the roll is called up
yonder I don’t want to confess that I have used private methods. I
suppose it will be no use arguing that it wasn’t fair for OS X to
publicize those methods, bind keystrokes to them, and then implement
them in a private API.
The right thing to do would be to file a bug requesting publication of
those methods, and to inquire in the bug whether it would be safe to
override them regardless of their current status.
Douglas Davidson
_______________________________________________
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