• 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: Alex Zavatone <email@hidden>
  • Date: Fri, 14 Jun 2013 11:47:25 -0400

The model you are mentioning seems a lot like multiple users accessing a database on a remote server.

In this analogy, the database is your document.  The users accessing that one database are the other apps that are accessing it.



On Jun 13, 2013, at 2:29 PM, Daniele Margutti wrote:

>
> On 13 Jun 2013, at 20:05, Tom Davie <email@hidden> wrote:
>
>> The best way is to write an application that's stable.  The only reason browsers started doing this was because they had to deal with 3rd party code (e.g. flash) that was giving them a terrible reputation for instability.  If you're controlling the entire app, you have no reasonable reason to do this.  Simply fix your crasher bugs instead.
>
> 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.
> _______________________________________________
>
> 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

_______________________________________________

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: 
 >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>)

  • Prev by Date: Re: Isolated process for each NSDocument of my app
  • Next by Date: Re: Asynchronously mounting a remote file server?
  • Previous by thread: Re: Isolated process for each NSDocument of my app
  • Next by thread: Prevent NSLevelIndicatorCell change when clicking in non-selected row
  • Index(es):
    • Date
    • Thread