• 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
trying to overload window for keyDown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trying to overload window for keyDown


  • Subject: trying to overload window for keyDown
  • From: John James <email@hidden>
  • Date: Fri, 19 Nov 2004 07:02:41 -0500

I want to handle key presses in my main window. I subclassed my window, added keyDown method, but it never gets called .
I added acceptsFirstResponder to the subclass returning YES but it never gets called.


(this seems like another problem but may be relavant) I have a 6 TableViews in the window and I attempted to set up the order in which the views would be selected as the user tabs. This works in IB test interface but not in the actual App.

I am not sure what I did (I was messing arround in IB) but now the window in the app does not appear on startup and I get the error in the log:
-[_NSControllerObjectProxy isEqualToString:]: selector not recognized
(I turned off subclassing and still get the error and no window)


I am a nubie and very stuck. what could be the problem(s).
thanks in advance
John

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: RE[2]: Cocoa Selector As CF Callback Addr?
  • Next by Date: RE: Cocoa Selector As CF Callback Addr?
  • Previous by thread: RE: Cocoa Selector As CF Callback Addr?
  • Next by thread: Resize Window with fixed ratio
  • Index(es):
    • Date
    • Thread