Search code examples
objective-ccocoabindingnstableviewnsarraycontroller

How to reordering rows in NSTableView with NSArrayController


i've got NSArrayController which gives my NSTableView object data from array _files. The problem is i want to reorder rows by dragging. How can i do this correclty with NSArrayController?

Thank you for help.


Solution

  • You may find this article in Red Sweater Blog of use.

    In it, the author subclasses NSArrayController in order to provide this functionality in a bindings-oriented application.