• 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: Isolated process for each NSDocument of my app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Isolated process for each NSDocument of my app


  • Subject: Re: Isolated process for each NSDocument of my app
  • From: Daniele Margutti <email@hidden>
  • Date: Thu, 13 Jun 2013 21:06:37 +0200

On 13 Jun 2013, at 21:04, Jens Alfke <email@hidden> wrote:

>
> On Jun 13, 2013, at 11:29 AM, Daniele Margutti <email@hidden> wrote:
>
>> Overall stability is not my reason to evaluate this kind of a architecture; for a particular reason each document should interact with an external singleton class but each singleton must be unique around the app; think about UIApplication on iOS; I need to work with a similar thing so I need to “run” multiple projects and each one must see a single instance of this object. I cannot change this kind for several reason, so an architecture like this could be a great answer to enable multiple documents support in my application.
>
> I think you’ll find it easier to refactor your code to avoid depending on a global/singleton*, than to implement low-level system functionality to split your app across processes.


That’s not possible due to some important reason I can’t explain here :( Belive me, if it was the right way I would have used them :(


_______________________________________________

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: Isolated process for each NSDocument of my app
      • From: Graham Cox <email@hidden>
    • Re: Isolated process for each NSDocument of my app
      • From: Kyle Sluder <email@hidden>
References: 
 >Isolated process for each NSDocument of my app (From: Daniele Margutti <email@hidden>)
 >Re: Isolated process for each NSDocument of my app (From: Tom Davie <email@hidden>)
 >Re: Isolated process for each NSDocument of my app (From: Daniele Margutti <email@hidden>)
 >Re: Isolated process for each NSDocument of my app (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Isolated process for each NSDocument of my app
  • Next by Date: Re: Isolated process for each NSDocument of my app
  • Previous by thread: Re: Isolated process for each NSDocument of my app
  • Next by thread: Re: Isolated process for each NSDocument of my app
  • Index(es):
    • Date
    • Thread