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

Re: Open untitled file in Document-based app


  • Subject: Re: Open untitled file in Document-based app
  • From: ecir hana <email@hidden>
  • Date: Wed, 24 Oct 2012 11:05:20 +0200

On Tue, Oct 23, 2012 at 11:58 PM, Graham Cox <email@hidden> wrote:

>
> If you return YES from -applicationOpenUntitledFile: the application will
> NOT open a new file - it has assumed that this method has done it and by
> returning YES that's what you're telling it. You want to either return NO
> or else not override this method at all.
>
>
Thanks for the reply!

I tried both to return NO and  to not overriding the method but it still
wont open any window at start up. The method(s) are not even called..? I
think it has something to do with 10.8 restoring the previous state but I'm
not sure how to force it to open an window if there was no window at
application exit.
_______________________________________________

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: Sean McBride <email@hidden>
References: 
 >Open untitled file in Document-based app (From: ecir hana <email@hidden>)
 >Re: Open untitled file in Document-based app (From: Graham Cox <email@hidden>)

  • Prev by Date: default "synchronous" and "full_fsync" of Core Data Sqlite on iOS
  • Next by Date: Re: Security-scoped bookmarks linked to code signing?
  • Previous by thread: Re: Open untitled file in Document-based app
  • Next by thread: Re: Open untitled file in Document-based app
  • Index(es):
    • Date
    • Thread