RE: Dynamically connecting IBOutlet
RE: Dynamically connecting IBOutlet
- Subject: RE: Dynamically connecting IBOutlet
- From: Christian Mike <email@hidden>
- Date: Tue, 6 Nov 2001 08:31:22 -0500
No takers? Is it that this is so incredibly easy that folks thought that I
was wasting bandwidth, or is it so incredibly hard that folks are avoiding
it? I really don't know.
As I've searched through the archives for this list, I see references that
indicate that this can be done, but no indication as to how to do it.
-----Original Message-----
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.