• 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: sub classing NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sub classing NSTableView


  • Subject: Re: sub classing NSTableView
  • From: Buzz Andersen <email@hidden>
  • Date: Sat, 28 Sep 2002 13:38:57 -0600

now I realize I need to subclass to add in drag and drop capability.

Not necessarily--have you tried using the "tableView: (NSTableView *) theTableView writeRows: (NSArray*) row toPasteboard: (NSPasteboard*) pboard" delegate method? It seems to be undocumented for some reason (somebody correct me if I'm wrong on that), but if you want to get single-click drags out of your table working, it's definitely the only reasonable way. I'm passing this on because I just finally learned it myself after a long, torturous period of experimentation :-).

--
Buzz Andersen
email: email@hidden
web: http://www.scifihifi.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Drag operations and AppKit views
  • Next by Date: Re: private Frameworks - how
  • Previous by thread: Re: sub classing NSTableView
  • Next by thread: Re: sub classing NSTableView
  • Index(es):
    • Date
    • Thread