• 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
Storing cache data in NSDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Storing cache data in NSDocument


  • Subject: Storing cache data in NSDocument
  • From: Rick Mann <email@hidden>
  • Date: Thu, 16 Jun 2016 15:46:58 -0700

My complex app generates a lot of intermediary data that's cached to speed up operations. Would it be reasonable to store this inside the document package? The idea being that that way, the entire set of data can be moved around easily, without requiring the intermediate data to be rebuilt just because a file was moved to a new machine.

The catch is that I wouldn't want to update the mod date of the document just because some of these files got updated, nor would I want Time Machine to back up this extra data. Is it possible to do this?

Thanks,

--
Rick Mann
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: Storing cache data in NSDocument
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Selected value binding in popups
  • Next by Date: Re: Storing cache data in NSDocument
  • Previous by thread: Re: Can initialKey & initialValue be set via bindings?
  • Next by thread: Re: Storing cache data in NSDocument
  • Index(es):
    • Date
    • Thread