Re: Saving properties
Re: Saving properties
- Subject: Re: Saving properties
- From: David Neumann <email@hidden>
- Date: Tue, 18 Feb 2003 14:54:13 -0600
Just out of curiosity, why wouldn't you want to dump user specific
properties into a table?
Anyway, you could always just write out files to disk with property
info in them (in say XML or PropList format). Use a different file for
each user maybe instead of one big file.
d
On Tuesday, February 18, 2003, at 01:21 PM, Dan wrote:
Ok - I understand that with WO 5 that NSUserDefaults are no longer
supported,
and that I should use System.getProperty calls instead (and
NSPropertyListSerialization as needed). However - in WO 4.5.1 I could
save
properties within the application using NSUserDefaults.setObjectForKey
and
NSUserDefaules.synchronize as necessary. This was really handy
because I
created a page for each application that exposed its properties and
allowed
them to save them.
So in WO 5 what is the recommended (best) way to save properties
programmatically, so that they will be read back in the next time the
application is launched (and no - I don't particularly want to save
them into
some kind of database table)?
Thanks,
Dan
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.