Open untitled file in Document-based app
Open untitled file in Document-based app
- Subject: Open untitled file in Document-based app
- From: ecir hana <email@hidden>
- Date: Tue, 23 Oct 2012 17:31:37 +0200
Hello,
I would like my app to open new untitled document every time it starts. It
worked in 10.6 but now I upgraded to 10.8 and when I close the window with
cmd+w and then restart the application it wont open any windows.
Please, how to make it open a new window every time the app starts,
regardless of how it exited previously?
I tried to return YES in both applicationShouldOpenUntitledFile: and
applicationOpenUntitledFile: of the app delegate without luck.
Thanks in advance!
_______________________________________________
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