MVC MVC MVC weeeeeeee
How to understand Cocoa Bindings
How I did it: The biggest hurdle I had was in believing that what I wanted to do was
possible. First starting out I got so many runtime errors (which are
not debuggable) that I started to doubt the soundness of Apple's
implementation. I was wrong. They did a super excellent job. Read
their docs, understand their docs. Then go back to it.
Resources: Apple's own docs. They're online and easy to find.
People doing this are also doing these things:
Entries
Bindings sound great. They look great. Hook the wrong one up or miss a hookup and you’re debugging a bizarre sort of behavior without benefit of source code for days. The binding protocol between outline view and tree controller is awful and totally opaque – if you want to add colored rows or something you’re out of luck.
I consider bindings to be a nice idea (and in things like VisualWorks they rock), but without source code and better debugging tools, they are a total time hoover.
pretty far down on my list right now, as my hands are full of ruby projects, but eventually I want to learn the new stuff added.




