• 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: Bindings, CoreData, NSOutlineView, and NSTreeController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Bindings, CoreData, NSOutlineView, and NSTreeController (From: Mark Dawson <email@hidden>)
 >Re: Bindings, CoreData, NSOutlineView, and NSTreeController (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: programmatically determining if the machine is intel or not
  • Next by Date: Re: Trouble using ANY operator in an NSArrayController search predicate
  • Previous by thread: Re: Bindings, CoreData, NSOutlineView, and NSTreeController
  • Next by thread: NSDocument Menu Validation
  • Index(es):
    • Date
    • Thread