• 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
Init controller called twice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Adding Spotlight keywords to files
  • Next by Date: Coredata and plugins...
  • Previous by thread: Re: how to be informed that a movie is done playing?
  • Next by thread: Re: Init controller called twice
  • Index(es):
    • Date
    • Thread