Re: drag & drop / re-ordering
Re: drag & drop / re-ordering
- Subject: Re: drag & drop / re-ordering
- From: Dave Reed <email@hidden>
- Date: Mon, 22 Mar 2010 14:21:51 -0400
Another place to look is:
http://www.red-sweater.com/blog/274/a-moveable-beast
Daniel Jalkut (Red Sweater is his company) wrote an NSArrayController subclass that supports re-ordering of an NSTableView and released it under an open source license. I've used it for a couple hobby projects of mine and it works great.
It looks like someone put it on github
http://github.com/sdegutis/InspectorKit.framework/blob/91bee7c3adfd22e9d37ec26804b5015099a43afb/RSRTVArrayController.m
Dave
On Mar 22, 2010, at 1:34 PM, Dave DeLong wrote:
> Here's a little blurb I wrote a while ago on the basics of drag and drop:
>
> http://stackoverflow.com/questions/1383021#1383640
>
> HTH,
>
> Dave DeLong
>
> On Mar 22, 2010, at 11:31 AM, Rainer Standke wrote:
>
>> Hello,
>>
>> I am looking to create a drag & drop mechanism that allows the re-ordering of items. Ideally it would work like the side bar in Finder windows, where one can drag items and their icons up and down.
>>
>> Another way it could work would be like a horizontal film strip with thumbnail icons where the user could re-order things by drag and drop.
>>
>> Any pointers to ways to make this happen will be appreciated.
>>
>> Rainer
> _______________________________________________
>
> 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
_______________________________________________
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