• 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
Mental block targeting GUI items programatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mental block targeting GUI items programatically


  • Subject: Mental block targeting GUI items programatically
  • From: Ken Tozier <email@hidden>
  • Date: Mon, 18 Apr 2005 02:34:29 -0400

Hi all,

I'm sure this is a simple one, but I'm having a bit of trouble wrapping my head around how exactly to programatically send messages to a custom view in a window.

I wrote a custom view class, imported it into InterfaceBuilder and selected it in the "Custom class" popup and got stuck. The class has an "addSubviews:(NSArray *) inArray" method which will only be updated by a daemon. Since it lives in the nib file, and is loaded without any action by me, how do I get a reference so messages can be sent to it? Do I need an IBOutlet somewhere? A delegate? An awake from nib? Would a Binding be the best route?

The App controller will launch the daemon and the daemon will be the data source for the custom view.

Thanks

Ken
_______________________________________________
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: MainMenu binding with multiple documents
  • Next by Date: Re: Custom view, selection consistency with NSTableView
  • Previous by thread: MainMenu binding with multiple documents
  • Next by thread: Re: Mental block targeting GUI items programatically
  • Index(es):
    • Date
    • Thread