Re: NSController... Anyone?
Re: NSController... Anyone?
- Subject: Re: NSController... Anyone?
- From: Scott Anguish <email@hidden>
- Date: Sat, 25 Oct 2003 02:19:45 -0400
On Oct 25, 2003, at 2:03 AM, David Thorup wrote:
Now that the cat is out of the bag can anyone explain the new
NSController classes to those of us not privileged enough to go to
WWDC or get the Panther seeds?
What do they do?
Well, they provide a controller capability in the
Model-View-Controller type application
Why are they cool?
They are... very, very cool. When used with Key-Value Binding, they
can reduce the amount of code required to write an application by
orders of magnitude. As an example for a presentation I'm giving next
week (at O'Reilly, on the Controller Technologies).. I was able to
reduce my Preferences panel code in OpenUp from 350 lines, to 35.. with
no loss of functionality, and it added some in the process.
Examples of how to use them?
The Temperature Converter in /Developer/Examples/AppKit is one. More
will be coming this week.
Also, the docs ONLINE have a step by step tutorial or two..
Etc.
Thanks!
BTW, Panther rocks!
_____________________________
Dave Thorup
Software Engineer
email@hidden
http://www.kuwan.net
Defaults Manager - The premier editor for Mac OS X's User Defaults /
Preferences database.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.