• 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: NSUserDefaults per Document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: NSUserDefaults per Document (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: xml-rpc / soap (dont beat me)
  • Next by Date: Re: Popup vs pull down menu item missing
  • Previous by thread: Re: NSUserDefaults per Document
  • Next by thread: SOAP authentication header
  • Index(es):
    • Date
    • Thread