Re: saving state of non-document-based agent
Re: saving state of non-document-based agent
- Subject: Re: saving state of non-document-based agent
- From: Scott Anguish <email@hidden>
- Date: Wed, 2 Jul 2008 21:16:37 -0400
On Jul 2, 2008, at 6:33 PM, Ken Thomases wrote:
On Jul 2, 2008, at 5:21 PM, Daniel Richman wrote:
I thought of that, and it's certainly a possibility, but it seems
mainly intended for preferences. I was wondering, before I turn to
that, if there's some other way of doing it that's more designed
for this.
Applications that wish to save state like this should create a new
directory in the user's Library/Application Support directory and save
it in there.
-[NSDictionary writeToFile:atomically:] ?
Well, yes. :-)
And that's where it should go.
_______________________________________________
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