• 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
Dynamically connecting IBOutlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: AppleDouble format
  • Next by Date: VTAUS Project
  • Previous by thread: Re: AppleDouble format
  • Next by thread: RE: Dynamically connecting IBOutlet
  • Index(es):
    • Date
    • Thread