Re: NSKeyBinding suppressCapitalizedKeyWarning?
Re: NSKeyBinding suppressCapitalizedKeyWarning?
- Subject: Re: NSKeyBinding suppressCapitalizedKeyWarning?
- From: Mike Ferris <email@hidden>
- Date: Mon, 30 Dec 2002 12:33:18 -0800
And... submit a bug that Fou is advising you to call private API in a
log message.
And... check respondsToSelector: first if you're going to call this so
you won't crash and burn if the class or method disappears.
Mike
Begin forwarded message:
From: Ryan Dingman <email@hidden>
Date: Mon Dec 30, 2002 11:05:37 AM US/Pacific
To: Bill Cheeseman <email@hidden>
Cc: Cocoa-Dev Mail <email@hidden>
Subject: Re: NSKeyBinding suppressCapitalizedKeyWarning?
NSKeyBinding is a private class in Foundation. Instead, try calling:
[NSClassFromString(@"NSKeyBinding") suppressCapitalizedKeyWarning];
Hope this helps.
ryan
On Monday, December 30, 2002, at 09:38 AM, Bill Cheeseman wrote:
I have to use some method names that start with a capital letter, and
I call
them using key-value coding. I get a warning every time I do so,
telling me
"Use +[NSKeyBinding suppressCapitalizedKeyWarning] to suppress this
warning."
Where is NSKeyBinding? How do I use it to suppress this warning? If I
include the suggested message in my application, the compiler doesn't
recognize it.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.