Init controller called twice
Init controller called twice
- Subject: Init controller called twice
- From: Zac Tolley <email@hidden>
- Date: Sun, 7 Aug 2005 12:02:03 +0100
I have a weird one that I'm sure is a simple error.
I created a cocoa document app and then modified it to be modal/view/
controller based. I have a MyDocument, I created a window controller,
I made that the owner of my window and I have overwritten
makewindowcontrollers.
The problem is my window controllers init function gets called twice.
It gets called, then after that the MyDocument created it in it
makewindowcontrollers call.
What would be creating it the first time?
_______________________________________________
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