Re: Toplevel Objects in NIB files
Re: Toplevel Objects in NIB files
- Subject: Re: Toplevel Objects in NIB files
- From: Nat! <email@hidden>
- Date: Sat, 6 Apr 2002 16:22:42 +0200
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.
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.