• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSMatrix Drag Reordering/Swapping
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMatrix Drag Reordering/Swapping


  • Subject: Re: NSMatrix Drag Reordering/Swapping
  • From: Seth Willits <email@hidden>
  • Date: Mon, 28 Mar 2005 17:14:16 -0800

On Mar 28, 2005, at 8:50 AM, Seth Willits wrote:

I have an NSMatrix of an NSButtonCell subclass and want to allow the user to reorder the buttons either by dragging a button and dropping it between two others, or dragging it on top of another button and having them swap. IB does what I want, but it's behavior is a little wonky. Can anyone offer me any pointers? I looked through the archives on googled for a bit but I could only find messages relating to dragging out of and into an NSMatrix and wasn't sure what would differ in this case.

Despite me searching there first, I somehow missed an example on CocoaDev which a friend pointed out after offering $5 to anyone who could find it. :)


http://www.cocoadev.com/index.pl?DragMatrix


-- Seth Willits

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSMatrix Drag Reordering/Swapping (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Bug w/NSTask and NSPipe? (was: Debugging problems)
  • Next by Date: Re: Apple's Code Level Support
  • Previous by thread: NSMatrix Drag Reordering/Swapping
  • Next by thread: building a Mail-like preview pane
  • Index(es):
    • Date
    • Thread