I have a Core Data document-based application which is all working correctly. I'd like to implement a "New Document wizard" which appears as a sheet after the user has created a new document - the wizard will ask some questions and populate aspects of the document with the users choices. The wizard is displayed by a method of the document controller class.
I've tried calling the method in a number of places but none of them seem to work. Placing the call in awakeFromNib or windowControllerDidLoadNib: causes an infinite loop.
Does anyone have an idea of the best method to place this call in? I guess I'm looking for some kind of "document has finished being created" method to override, or notification to observe.
Thanks in advance.
I've tried calling the method in a number of places but none of them seem to work. Placing the call in awakeFromNib or windowControllerDidLoadNib: causes an infinite loop.
Does anyone have an idea of the best method to place this call in? I guess I'm looking for some kind of "document has finished being created" method to override, or notification to observe.
Thanks in advance.