• 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: Where/how to store lots of user application data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where/how to store lots of user application data


  • Subject: Re: Where/how to store lots of user application data
  • From: Michael Carter <email@hidden>
  • Date: Fri, 13 May 2005 09:25:42 -0700

Hi Graham,

App data store location depends a lot on who needs it and when. Generally, if the data is user-specific, then storing in that user's Application Data directory would probably be the most appropriate (~/ Library/Application Support/appname/). Global persistent data can also travel with the app by storing it within the app's bundle, which can be obtained using [NSBundle mainBundle].


On May 13, 2005, at 9:00 AM, Graham wrote:

Hi,

I am new to Cocoa programming and wanted to ask where I should start looking to learn the 'correct' method and location for storing user data (such as a large number of images). I have already been using the User defaults plist for simple application preferences for the user, but I'd like to know where files should be stored for a user. The images being stored are really just a cache.

Kind regards,

Graham
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden


__________________ Michael Carter GCS Monitoring Apple Computer, Inc.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Where/how to store lots of user application data (From: Graham <email@hidden>)

  • Prev by Date: Re: Where/how to store lots of user application data
  • Next by Date: Dressing Core Data In Drag ...
  • Previous by thread: Re: Where/how to store lots of user application data
  • Next by thread: Re: Where/how to store lots of user application data
  • Index(es):
    • Date
    • Thread