Re: NSUserDefaults per Document
Re: NSUserDefaults per Document
- Subject: Re: NSUserDefaults per Document
- From: Sanford Selznick <email@hidden>
- Date: Tue, 2 Oct 2007 10:04:08 -0700
At 12:30 PM -0400 10/2/07, Sean McBride wrote:
On 9/29/07 8:34 AM, Sanford Selznick said:
I have a set of preferences that display in a sheet on a document
window. The preferences are saved /for/ the document on that
machine, but not /in/ the document itself.
I'm curious why? If you take this approach, these prefs will be lost
when the document is emailed/shared between computers/users.
Because my documents have preferences that are specific to a single account.
Simple example: Text editors save window size and location for a
given document on a specific machine. So when the user moves the
document to another machine with a different sized monitor, it fits
consistently. And a text file isn't a plist so there's no place else
to store this information.
Best,
Sanford
_______________________________________________
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