• 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
lost connections, IB to PB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lost connections, IB to PB


  • Subject: lost connections, IB to PB
  • From: Loren Wright <email@hidden>
  • Date: Mon, 11 Nov 2002 16:04:31 -0500

Dear Cocoa-dev list,

I have a window of which I need several copies during the execution of
the main program. I think I've done the recommended procedure: 1) put
the window into a separate nib file, 2) use a subclass of
NSWindowController and in its init method put a [super
initWithWindowNibName: owner:] call, 3) dragged the .h file for this
class into the nib's IB window, 4) set File Owner to be this class, and
5) made all the connections in IB, including my class's inherited
window outlet, and setting the window's delegate to File Owner. The
window is loaded just fine, but the outlets are all nil, even in my
-windowDidLoad method.

I've taken this exact same window, put it into a separate test project
with stripped down controller classes, and the outlets are figured out
just fine. What I need is a method to track down what's gone wrong in
my main project. I'm not exactly at home in the gdb debugger, but I'm
willing to roll up my sleeves if necessary! (Well, I guess I really
should learn how to use it better.) Thanks in advance for any help or
insights.

Loren Wright
<email@hidden>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: A comment and question about rendezvous...
  • Next by Date: Re: "weak link" framework refs for 10.1 compatibility?
  • Previous by thread: Re: Getting volumes names?
  • Next by thread: extracting part of a PDF image
  • Index(es):
    • Date
    • Thread