Re: of nibs and top level objects
Re: of nibs and top level objects
- Subject: Re: of nibs and top level objects
- From: j o a r <email@hidden>
- Date: Mon, 10 Apr 2006 21:54:57 +0200
On 10 apr 2006, at 21.33, Paul Forgey wrote:
I do understand perfectly well what is going on now. This solves
my problem because I've come to realize the top level objects
really RETAIN THE NIB OWNER. I had an extraneous retain count of
14, and 14 top level objects. Releasing all of these top level
objects put things back in balance.
I'm very surprised to hear that you can set up nib files that retain
the files owner. It sounds like a very dangerous thing for Apple to
allow for, as it would create retain cycles and memory management mess.
It would be interesting to find out exactly what it is in your nib
file that's retaining the files owner. Shouldn't be so hard to track
down, as it's something you've got 14 copies of...
That said, I still don't see why you would have to use the exotic nib
loading methods you've outlined here (using either NSTopLevelObjects
or NSNib), in place of regular nib loading. If things are working
fine for you now, by all means leave them as they are, but I think
you have a solution that's overly complex.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden