Model index and Array Controller index
Model index and Array Controller index
- Subject: Model index and Array Controller index
- From: Ben Lachman <email@hidden>
- Date: Thu, 23 Jul 2009 17:05:26 -0400
I have a simple situation that I can't decide on a good solution to.
I have a model object that has an index property. These objects are
displayed in a simple table view which should be ordered by index.
This is easily done by adding a sort descriptor to the array
controller that feeds the tableview. The array controller also
implements drag n' drop reordering as per mmalc's Bookmarks example.
The problem I'm having is that I can't find a decent way of
propagating index changes in the array controller back down to the
model. Does anyone have a good method of doing this?
Thanks,
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
email: email@hidden
twitter: @benlachman
mobile: 740.590.0009
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden