NSUserDefaults per Document
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