Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deletes Object on Remove option



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: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.