On 9 Sep 2009, at 10:31, John Chang wrote:


On 9 sep 2009, at 11.21, Mike Abdullah wrote:

Well I would question why you're calling +[XYZManager sharedManager] from within -[XYZManager init] like that. What if you change your init routine to:

Oops, sorry. It's actually two different classes which I renamed incorrectly for the purposes of this discussion. -[HighLevelObjectDatabase init] wants to listen to [LowLevelObjectManager sharedManager] and observer any changes there.


I suspected it might be something like that :)

In which case, in your stack track, the two items at the bottom are both LowLevelObjectManager? If so, I think you're looking for your bug in the wrong place. It's happening in -[LowLevelObjectManager init], not -[HighLevelObjectDatabase init].

Mike.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to