Removing objects from the array controller but not from the persistent store (Newbie)
Removing objects from the array controller but not from the persistent store (Newbie)
- Subject: Removing objects from the array controller but not from the persistent store (Newbie)
- From: Sebastian Morsch <email@hidden>
- Date: Thu, 27 Oct 2005 10:27:30 +0200
Hi!
I have a little core data question:
I'm stuck with the task to implement a Filemaker-style behaviour
where a database record can be 'omitted' (made invisible) from the
list of shown records. My approach was to try to modify the
arrangedObjects that are shown in the table in a NSTableView <bound
to> NSArrayController <bound to> NSArrangedObjectContext setup, but
it doesn't seem to work that way.
It's obvious how to permanently remove objects from the array
controller AND the persistent store, but how can I just 'hide' them?
Furthermore, I'd like to be able to show all the 'hidden' objects,
i.e. the complement of the currently shown objects, but I have no
idea how to achieve this either...
I know it's always a bit silly to think in some other design's ways
when developing and I assume, that's where my problem lies. I'd
appreciate any help or pointing-me-somewhere very much! Thanks.
Sebastian
_______________________________________________
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