Core Data, Filtering by PopUps Bindings Confusion

2008-11-14 Thread Brad Gibbs
I've been using Jonathan Dann's excellent Core Data Sorted sample code to create an outline view consisting of two concrete entities -- Categories and Types (each parent Category can have an unlimited number of children types). The only real adjustment I've made to his code is to put the

Re: Core Data, Filtering by PopUps Bindings Confusion

2008-11-14 Thread Quincey Morris
On Nov 14, 2008, at 12:06, Brad Gibbs wrote: I've been using Jonathan Dann's excellent Core Data Sorted sample code to create an outline view consisting of two concrete entities -- Categories and Types (each parent Category can have an unlimited number of children types). The only real

Re: Core Data, Filtering by PopUps Bindings Confusion

2008-11-14 Thread Brad Gibbs
up in the typesPUB. Re: Core Data, Filtering by PopUps Bindings Confusion FROM : Quincey Morris DATE : Fri Nov 14 22:31:26 2008 On Nov 14, 2008, at 12:06, Brad Gibbs wrote: I've been using Jonathan Dann's excellent Core Data Sorted sample code to create an outline view consisting of two

Re: Core Data, Filtering by PopUps Bindings Confusion

2008-11-14 Thread Quincey Morris
On Nov 14, 2008, at 15:21, Brad Gibbs wrote: My categories Popup Button (categoriesPUB) is bound to the categories array controller as follows: Content.arrangedObjects ContentValues.arrangedObjects.displayName I've tried a variety of bindings for the popup button's selectedObject binding,

Re: Core Data, Filtering by PopUps Bindings Confusion

2008-11-14 Thread Steve Steinitz
Hi Brad, I couldn't grasp from a quick skim of your post whether types are related to categories in your model, ie. category -- type. If so, I'd say keep trying to do it with bindings -- it will work. If not, I had a similar scenario where I ended up creating a custom NSArrayController, to