• 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
controller class and window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

controller class and window


  • Subject: controller class and window
  • From: Luc Vandal <email@hidden>
  • Date: Thu, 03 Mar 2005 11:35:54 -0500

Hi,

How can the controller class access the window? I did subclass NSWindow and in IB, the window shows in the controller outlets but if I try to generate the files for the controller class, there's no IBOutlet object being created for the window.

I tried to add it manually but the object is always null.

I need to create communication between the controller and the window because keyDown is handled by the window and I want to use notifications to let the controller know that a key has been hit.

Thanks!

Luc

_______________________________________________
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


  • Follow-Ups:
    • Re: controller class and window
      • From: Dan Saul <email@hidden>
  • Prev by Date: Re: disabling right-mouse click and ctrl+click?
  • Next by Date: Re: How Create Installer for a Cocoa Application
  • Previous by thread: Re: foo.example.com
  • Next by thread: Re: controller class and window
  • Index(es):
    • Date
    • Thread