Re: User Defaults Controller - IB
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