what happens between init and awakeFromNib?
what happens between init and awakeFromNib?
- Subject: what happens between init and awakeFromNib?
- From: Matthew <email@hidden>
- Date: Mon, 20 Dec 2004 00:27:37 -0500
Hi,
I'm finding that my Controller's dealloc method is not being called
(via log messages) and have noticed that at the very end of init: the
Controller's retain count is 1 (which I'm assuming is correct), but at
the very beginning of awakeFromNib, it's 3, which I don't quite
understand and think is not correct.
What happens in between init: and awakeFromNib that could cause this?
Is it possible that the two retains are actually occurring in init: but
the retainCount isn't being updated until init: formally exits? I'm
getting this info from [self retainCount].
What might be a good approach to track this down? ObjectAlloc and
MallocDebug are there, but I'm not sure that they give the kind of
detail I'm looking for?
Matthew
_______________________________________________
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