• 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: cocoa-dev digest, Vol 1 #174 - 15 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Simple message passing between threads
  • Next by Date: Re: Simple message passing between threads
  • Previous by thread: Converting image to 8-bit gray?
  • Next by thread: Problems with NSOutlineView in Java?
  • Index(es):
    • Date
    • Thread