On Apr 2, 2006, at 11:46 AM, mmalcolm crawford wrote:
On Apr 1, 2006, at 12:47 PM, email@hidden wrote:
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?
Thanks, that seemed to re-establish the bindings. However, I noticed
something odd: I don't get the same behavior as when I uncheck
"Deletes Object on Remove" in IB. Below is the code I'm using. The
method moveObjectsInArrangedObjectsFromIndexes is from some Apple
sample code for dragging and dropping rows within the same table
view, something I'm trying to do. If I use the code below, nothing
happens when I drag and drop within the same table view. However, if
I comment out setDeletesOnRemove and uncheck "Deletes Object on
Remove" in IB, it works! Any hints as to where to look next would be
appreciated.
Thanks,
Bill
index = [indexSet indexLessThanIndex:index];
}
[self setDeletesOnRemove:timeLineController deletesOnRemove:YES];
}
_______________________________________________
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