• 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
Open untitled file in Document-based app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Open untitled file in Document-based app
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: sync drawing an ever-increasing path
  • Next by Date: Running a-foul of bindings with multiple-value subfields
  • Previous by thread: Re: sync drawing an ever-increasing path
  • Next by thread: Re: Open untitled file in Document-based app
  • Index(es):
    • Date
    • Thread