Re: Bindings, CoreData, NSOutlineView, and NSTreeController
Re: Bindings, CoreData, NSOutlineView, and NSTreeController
- Subject: Re: Bindings, CoreData, NSOutlineView, and NSTreeController
- From: "Pierce T. Wetter III" <email@hidden>
- Date: Sat, 20 May 2006 00:43:37 -0700
On May 19, 2006, at 10:24 PM, mmalcolm crawford wrote:
On May 19, 2006, at 5:57 PM, Mark Dawson wrote:
After many months, I'm back programming Cocoa, with a project that
can target Tiger only. My previous projects required 10.2
support, so I never had the chance to use bindings or CoreData.
I'd like to fix that now :)
I'd strongly recommend against trying to learn bindings and Core
Data simultaneously:
<http://www.cocoabuilder.com/archive/message/cocoa/2006/4/5/160303>
Hmmm... But Malcolm, that's how I did it. :-)
Though I started from WebObjects which functions very much like
CoreData+Bindings, just for the web. In fact, the first time I saw
Interface Builder, I kept looking for the bindings panel. I couldn't
believe that I had to write code to shove the data into the UI and
pull it back out again. :-)
So since you've already been programming Cocoa, I'd start by
reviewing the Key-Value-Coding and Observing docs that MMalcolm links
to in his post that he linked to above. That will then lead you
naturally into bindings, because all bindings are in a way is just a
way of connecting specific UI values to specific instance variables.
Once you have that working, Core Data just automates all that
tedious reading in and writing out of file data. :-)
But Mmalcolm's right, except for us WO guys, doing both at the same
time is insane. If you are a WO guy, its easier to do both then to
learn how the "old" way works.
Pierce
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden