Re: cocoa-dev digest, Vol 1 #174 - 15 msgs
Re: cocoa-dev digest, Vol 1 #174 - 15 msgs
- Subject: Re: cocoa-dev digest, Vol 1 #174 - 15 msgs
- From: Joe Muscara <email@hidden>
- Date: Thu, 21 Jun 2001 20:28:51 -0500
On Thursday, June 21, 2001, at 03:55 PM, Eric Peyton wrote:
On Thursday, June 21, 2001, at 05:10 AM, Jorge Salvador Caffarena
wrote:
So now I am really messed up, because this seems a easy and quick
way of implementing preferences, but I am unable to get it to work.
NSUserDefaults is a quick and easy way. I suggest that you read
the documentation on NSUserDefaults and then look at an application
(TextEdit or Sketch are good ones and you have their source
already) that implements the preferences correctly.
Check out your Developer/Examples/AppKit/UserDefaults for an example
provided by Apple. It's similar enough to the Cocoa Dev Central example
that I think you'll be able to see the similarities and the differences.
The Apple example seems a bit cleaner to me, though I have had success
with the Cocoa Dev Central version as well.
Oh, and the Apple example was written by somebody named "Ali Ozer." ;~)
Joe