In the end I was able to solve this by making an NSArrayController
bound to all entities of the type Note, then set the Filter Predicate
of that array controller depending on the switch state. So I have:
- (IBAction)allCategoriesSelected:(id)sender
{
[singleCategoryButton
On Fri, Oct 2, 2009 at 2:39 AM, Martin Hewitson
martin.hewit...@aei.mpg.dewrote:
Dear list,
I have a simple core-data model with an entity 'Category' and an entity
'Note'. The 'Category' entity has a to-many relationship 'notes' to entity
type 'Note'.
The categories are displayed in an
Dear list,
I have a simple core-data model with an entity 'Category' and an
entity 'Note'. The 'Category' entity has a to-many relationship
'notes' to entity type 'Note'.
The categories are displayed in an outline view via a tree controller.
There is also a table which displays the
Martin,
I am actually working on an identical app (as far as your description
goes), as a way of learning CoreData, but also to have something to
organize my todos and reminders in...
I am dealing with the same problem you describe below, though I took a
slightly different approach. I