Re: sub classing NSTableView
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.