Re: Toplevel Objects in NIB files
Re: Toplevel Objects in NIB files
- Subject: Re: Toplevel Objects in NIB files
- From: Vince DeMarco <email@hidden>
- Date: Sat, 6 Apr 2002 12:53:59 -0800
On Saturday, April 6, 2002, at 06:22 AM, Nat! wrote:
Am Freitag den, 5. April 2002, um 01:52, schrieb Vince DeMarco:
On Thursday, April 4, 2002, at 01:51 PM, Nat! wrote:
Am Mittwoch den, 3. April 2002, um 19:42, schrieb Vince DeMarco:
What I am also wondering is, who owns and releases the connectors? If
there is no "NSConnectors" key, the NSWindowController probably can't
do that. And the views can't either, because at best they know about
the connector as a delegate (and they don't retain/release the delegate)
. The connectors themselves can't know when the views "disappear". Is
this a built in memory leak ?
After the connections are made the connectors are all released. They don'
t leak (or at least they should not leak)
Thanks to Greg and Vince for the info. I didn't fully comprehend that the
NIBConnector is a fairly ephemeral object.
Is this in all cases true though ? As I understand it associations are
also some kind of connector, and they don't and shouldn't disappear after
loading. Maybe I am on the completely wrong track here. Maybe
associations are stored somewhere else entirely ? Are they
"NSTopLevelObjects" ? Sorry I don't have acesss to nibtool at the moment
to verify that they are or aren't.
What do you mean by associations??? (the ones in EOF??? or WebObjects???)
All connections in IB (outlets and actions) are done using connectors.
Apple Script Studio also uses connectors to do all of the things that it
does.
NSTopLevelObjects is basically what you see in the icon view in the IB
Document, What the document contains (its hierarchy) can be seen by
switching the document window in IB to outline mode
vince
Cheers
Nat!
------------------------------------------------------
Some people drink deep from the fountains of life, and
some just gargle. -- DLR
_______________________________________________
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.