Need Xcode Table with Drag/Drop Rows for AppleScript

(Jim Underwood) #1

OK, I’m now starting to build my first complex GUI for AppleScript using the Xcode ASObjC tool.

I need to create a GUI object for a table (sourced to AS list) where I can drag/drop the rows (with multiple columns) to reorder, and then return the new order as a revised AS list.

I just thought I’d ask for any resources that would aid in my learning to do this, using the Xcode GUI Builder.
I’m not asking for anyone to build this for me, just to point me in the right direction.
Of course, if there is already an example for this available, then that would be great.


(Shane Stanley) #2

Drag-and-drop in tables is fairly complex – you have to implement a handful of table view delegate methods.

Your best resource is probably MacScripter’s ASObjC/Xcode section; I know it’s been discussed there.