|Apr 30, 2012, 05:34 AM||#1|
Document App: Triggering Behaviour After a New Document
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.
|Apr 30, 2012, 12:00 PM||#2|
You should also have a look at the basic guide for document based applications, I found it quite useful.
|core data, document|
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Document Manager - An Awesome App For Document Management||wajhik||iPhone and iPod touch Apps||0||May 3, 2013 06:08 AM|
All times are GMT -5. The time now is 11:34 PM.