Friday, November 2, 2012

A Source List With Bindings

Amy Worrall:

I wanted to use bindings, so that the UI will always update as new objects are created. The problem is, I couldn’t bind to my Core Data entities, because the NSTreeController expects just one kind of object throughout its tree. Also, my groups and my static rows aren’t in the database.

I’m not convinced that it makes sense to use Cocoa bindings in this situation, but if you want to do so she explains the non-obvious way that you can make it work.

Comments RSS · Twitter

Leave a Comment