Re: Really strange NSTableView issue
Re: Really strange NSTableView issue
- Subject: Re: Really strange NSTableView issue
- From: Quincey Morris <email@hidden>
- Date: Fri, 15 Jul 2011 02:40:03 -0700
On Jul 15, 2011, at 01:40, Gideon King wrote:
> - (BOOL)tableView:(NSTableView *)aTableView writeRowsWithIndexes:(NSIndexSet *)rowIndices toPasteboard:(NSPasteboard *)pboard {
> return YES;
> }
This looks suspicious, because it's asking you to write specific rows to the pasteboard, and you don't. But I don't think this is the cause.
> - (BOOL)tableView:(NSTableView*)tv acceptDrop:(id <NSDraggingInfo>)info row:(int)row dropOperation:(NSTableViewDropOperation)op {
> [[info draggingPasteboard] clearContents];
> return NO;
> }
This looks even more suspicious. I don't think the pasteboard is yours to clear the contents of, and I can't even think of a reason you'd want to do this here.
_______________________________________________
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