Dynamically connecting IBOutlet
Dynamically connecting IBOutlet
- Subject: Dynamically connecting IBOutlet
- From: Christian Mike <email@hidden>
- Date: Mon, 5 Nov 2001 15:00:42 -0500
I'm sure that you can do this (I think), but I am having a brain fade right
at the moment and can't find the right combination.
I created a window with controls in IB and load it into a "temporary"
NSWindowController using initWithWindowNibName. I create another window
using initWithContentRect so that I can set the style to
NSBorderlessWindowMask. I then set the contentView of my dynamically created
window to that which was loaded from the nib file into the temporary
controller.
Now, how do I dynamically hook up things like an NSTextField pointer to a
control in the dynamically created window so that I can manipulate it?
Thanks.
Michael Christian
Thomson multimedia Inc.