Re: Why is -makeWindowControllers getting called twice?
Re: Why is -makeWindowControllers getting called twice?
- Subject: Re: Why is -makeWindowControllers getting called twice?
- From: Kyle Sluder <email@hidden>
- Date: Mon, 4 May 2009 16:57:55 -0400
Note these two lines:
On Sun, May 3, 2009 at 9:38 PM, David Scheidt <email@hidden> wrote:
> #0 -[MyDocument makeWindowControllers] (self=0x10471d0, _cmd=0x9464d69c) at
> #0 -[MyDocument makeWindowControllers] (self=0x105d5b0, _cmd=0x9464d69c) at
The self pointers are different (0x10471d0 vs. 0x105d5b0): you have
two MyDocument instances, and -makeWindowControllers is being called
on each instance. My guess is that you've accidentally added an
instance of MyDocument to your nib.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden