• 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: User Defaults Controller - IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User Defaults Controller - IB


  • Subject: Re: User Defaults Controller - IB
  • From: Steve Weller <email@hidden>
  • Date: Tue, 18 Mar 2008 20:25:59 -0700

Check out http://cocoacast.com/, in particular episodes 14, 15, 16 for prefs (and notifications). The example they show does not use bindings, but by binding the view objects you can scrap much of the code.

Also see http://developer.apple.com/documentation/Cocoa/Conceptual/DrawColor/Tasks/StoringNSColorInDefaults.html for binding example and for how to deal with colors or other complex objects.

On Mar 18, 2008, at 5:09 PM, Jeremy wrote:

Hello,

I am working on a 10.5 only application. Now I want to start adding and using preferences in my code. This is my first MAJOR application and the first one to use preferences. How can I use the new "User Defaults Controller" and assign variables to it? My book isn't very helpful because it is all using custom classes. Help please. :D

Jeremy Dentel
"For a long time it puzzled me how something so expensive, so leading edge, could be so useless, and then it occurred to me that a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match." - Bill Bryson



_______________________________________________

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

-- Blog: http://www.bagelturf.com/ Photos: http://bagelturf.smugmug.com/




_______________________________________________

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


References: 
 >User Defaults Controller - IB (From: Jeremy <email@hidden>)

  • Prev by Date: Re: [Solved]NSAppleScript returning wrong error info
  • Next by Date: Printing Page Orientation
  • Previous by thread: User Defaults Controller - IB
  • Next by thread: Adding spaces to an NSString
  • Index(es):
    • Date
    • Thread