• 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: Parallel instances of Cocoa apps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parallel instances of Cocoa apps?


  • Subject: Re: Parallel instances of Cocoa apps?
  • From: "Clark Cox" <email@hidden>
  • Date: Fri, 14 Sep 2007 07:57:40 -0700

On 9/14/07, Shawn Erickson <email@hidden> wrote:
> On 9/14/07, Clark Cox <email@hidden> wrote:
> > On 9/13/07, Jay Reynolds Freeman <email@hidden> wrote:
> > > I asked ...
> > >
> > >  > I need to run multiple copies of a Cocoa application (that
> > >  > I am writing) at the same time. [...]
> > >
> > > and John Stiles has provided useful comments, for which
> > > thanks very much.  However, I did not make myself clear.
> > > What I was trying to ask was whether there were any
> > > Cocoa-specific troubles one could get into with parallel
> > > instances of the same application, and if so, whether there
> > > were any Cocoa APIs to dodge them.
> >
> > I don't think there are any Cocoa-specific issues with doing so, but
> > there are plenty of non-Cocoa specific issues. Off the top of my head:
> >
> > * Which instance will be activaed when the user double-clicks your
> > app's icon in the Finder?
>
> The instance they double-click.

They don't double-click an instance, they double-click a file (or
bundle in the case of an application). If you've got two instances of
the same app running, then they both came from the same app on disk.

> > * Which instance will be activated when the user opens one of your
> > app's documents?
>
> The most recent version (as in version number).

They're the same app; by definition, they have the same version and
modification date.

--
Clark S. Cox III
email@hidden
_______________________________________________

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: Parallel instances of Cocoa apps?
      • From: "Shawn Erickson" <email@hidden>
References: 
 >Cocoa, iTunes, AppleScript - performance issue (From: Steve Cronin <email@hidden>)
 >SOLVED: Cocoa, iTunes, AppleScript - performance issue BUT a Question arises (From: Steve Cronin <email@hidden>)
 >Parallel instances of Cocoa apps? (From: Jay Reynolds Freeman <email@hidden>)
 >Re: Parallel instances of Cocoa apps? (From: John Stiles <email@hidden>)
 >Re: Parallel instances of Cocoa apps? (From: Jay Reynolds Freeman <email@hidden>)
 >Re: Parallel instances of Cocoa apps? (From: "Clark Cox" <email@hidden>)
 >Re: Parallel instances of Cocoa apps? (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: Pages document
  • Next by Date: Re: Parallel instances of Cocoa apps?
  • Previous by thread: Re: Parallel instances of Cocoa apps?
  • Next by thread: Re: Parallel instances of Cocoa apps?
  • Index(es):
    • Date
    • Thread