• 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: Really strange NSTableView issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Really strange NSTableView issue
      • From: Gideon King <email@hidden>
References: 
 >Really strange NSTableView issue (From: Gideon King <email@hidden>)

  • Prev by Date: Re: Really strange NSTableView issue
  • Next by Date: Re: Really strange NSTableView issue
  • Previous by thread: Re: Really strange NSTableView issue
  • Next by thread: Re: Really strange NSTableView issue
  • Index(es):
    • Date
    • Thread