• 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: Saving properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Saving properties (From: "Dan" <email@hidden>)

  • Prev by Date: Re: NSTimestamp data
  • Next by Date: Re: Saving properties
  • Previous by thread: Saving properties
  • Next by thread: Re: Saving properties
  • Index(es):
    • Date
    • Thread