• 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
what happens between init and awakeFromNib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: what happens between init and awakeFromNib?
      • From: Chaz McGarvey <email@hidden>
    • Re: what happens between init and awakeFromNib?
      • From: Bob Ippolito <email@hidden>
  • Prev by Date: Re: -(NSString *)description method not called in Cocoa app
  • Next by Date: Re: [NSHost currenthost] slooooooooooow
  • Previous by thread: Re: -(NSString *)description method not called in Cocoa app
  • Next by thread: Re: what happens between init and awakeFromNib?
  • Index(es):
    • Date
    • Thread