• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Removing objects from the array controller but not from the persistent store (Newbie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Removing objects from the array controller but not from the persistent store (Newbie)
      • From: "Marcus S. Zarra" <email@hidden>
  • Prev by Date: SMB and AFP mounts using FSMountServerVolumeAsync
  • Next by Date: Re: Generating ligature glyphs
  • Previous by thread: SMB and AFP mounts using FSMountServerVolumeAsync
  • Next by thread: Re: Removing objects from the array controller but not from the persistent store (Newbie)
  • Index(es):
    • Date
    • Thread