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

NSUserDefaults per Document


  • Subject: NSUserDefaults per Document
  • From: Sanford Selznick <email@hidden>
  • Date: Sat, 29 Sep 2007 08:34:14 -0700

Hello,

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. Each of my documents contains a UUID I can to use to key the preferences for that document.

I'd like to use all the goodness of NSUserDefaults and IB bindings to set the controls on the sheet. Perhaps with some sort of dictionary in the NSUserDefaults for each document? How do I specify this dictionary as the defaults for the sheet?

I've read the archives, Apple's documentation and I don't quite see how to do this.

Thank you,
  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


  • Prev by Date: Re: fast blitting with Quartz
  • Next by Date: Re: NSTableView doubt
  • Previous by thread: Re: NSTokenfield: Drag and Drop / Autocompletion
  • Next by thread: Animation for NSStatusBar image
  • Index(es):
    • Date
    • Thread