• 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: NSKeyBinding suppressCapitalizedKeyWarning?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: NSKeyBinding suppressCapitalizedKeyWarning? (From: Ryan Dingman <email@hidden>)

  • Prev by Date: Re: Dynamically resizing NSView
  • Next by Date: CGPostMouseEvent clicking Cocoa UI element causes system UI locku p
  • Previous by thread: Re: NSKeyBinding suppressCapitalizedKeyWarning?
  • Next by thread: Re: NSKeyBinding suppressCapitalizedKeyWarning?
  • Index(es):
    • Date
    • Thread