• 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: Issue about cocoa Multi-document template
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue about cocoa Multi-document template


  • Subject: Re: Issue about cocoa Multi-document template
  • From: "Doug Knowles" <email@hidden>
  • Date: Sun, 2 Mar 2008 22:49:02 -0500

Good point.
In my case, I'm deviating from convention for two purposes:

- I expect the most common use of my application is to have one or very few
documents in existence, and that the user will usually prefer the
application to automatically open whatever document(s) were open when it
last closed, a la Quicken.  I will probably make this behavior a preference
option.

- If there are no documents to automatically open, or if the user holds down
the shift key during launch to suppress auto-open (similar to deferring
auto-launch of applications at login time), instead of opening an empty
document, I present a dialog (modeled on the iWork apps) which offers the
choice of creating a document from a template (again, likely to be a
preferred option) in addition to creating a "blank" document or opening an
existing one.

But I'm not changing or inventing behaviors arbitrarily, which I think
you're cautioning against. I'm anticipating the preferences of my users and
adopting widely accepted alternatives to accommodate them.

Doug K;

On Sun, Mar 2, 2008 at 11:30 AM, Gregory Weston <email@hidden> wrote:

> > This behavior is not that I want. I thought the application should not
> > open any window until users explicit open file command arrived.
>
> That's not the standard behavior of document-centric Mac OS X
> applications. The standard behavior is to present the user with a
> new, empty document when the app is launched by double-clicking the
> app icon or when it's activated by clicking the dock icon while no
> documents are open. So my first recommendation is to understand that
> and decided if you really need to deviate.
>
>
_______________________________________________

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

References: 
 >Re: Issue about cocoa Multi-document template (From: Gregory Weston <email@hidden>)

  • Prev by Date: Re: When in the launch cycle does coredata data become available.
  • Next by Date: Re: Core Data and retain count
  • Previous by thread: Re: Issue about cocoa Multi-document template
  • Next by thread: Drawing only when NSOutlineView active?
  • Index(es):
    • Date
    • Thread