• 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
Deletes Object on Remove option
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deletes Object on Remove option


  • Subject: Deletes Object on Remove option
  • From: email@hidden
  • Date: Sat, 1 Apr 2006 12:47:19 -0800

For a contentSet binding, I have the "Deletes Object on Remove" option set. I'd like to know if there is a way to change this setting programmatically? I have a table, and I'm trying to implement drag and drop within the same table, allowing the user to rearrange the object row order. My code calls removeObjectAtArrangedObjectIndex and then insertObject:atArrangedObjectIndex:, in effect moving an object from one index to another. The trouble is removeObjectAtArrangedObjectIndex also deletes the object, so I'd like to temporarily unset the "Deletes Object on Remove" option. Is that possible? Any assistance would be appreciated.

-Bill


_______________________________________________ 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: Deletes Object on Remove option
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: cocoa app using external c++ code
  • Next by Date: Re: Calling .jar routines from a C program
  • Previous by thread: Re: NSArrayController/NSManagedObject Runtime Error: 'Selector Not Recognized'. What Selector?
  • Next by thread: Re: Deletes Object on Remove option
  • Index(es):
    • Date
    • Thread