• 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
NSTableView and Drag&Drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView and Drag&Drop


  • Subject: NSTableView and Drag&Drop
  • From: Giovanni Donelli <email@hidden>
  • Date: Tue, 25 Feb 2003 18:17:18 +0100

Hello gurus!
I'm trying to enable the Drag&Drop option on a NSTableView

I found no problem implementing the:

- (BOOL)tableView:(NSTableView *)tv writeRows:(NSArray*)rows
toPasteboard:(NSPasteboard*)pboard
and:
- (NSDragOperation)tableView:(NSTableView*)tv validateDrop:(id
<NSDraggingInfo>)info proposedRow:(int)row
proposedDropOperation:(NSTableViewDropOperation)op

But I really can't handle with this one:
- (BOOL)tableView:(NSTableView*)tableView acceptDrop:(id
<NSDraggingInfo>)info row:(int)row
dropOperation:(NSTableViewDropOperation)operation

please help! it seems that this method is never called... I used the
registerForDraggedTypes properly...

is there someone that experienced my problem too.. it is so strange as
I don't have even the visual feedback on the table.. do I miss
something?? some properties to set in Interface Builder??

that method isn't called!

thanks for your help!

Giovanni
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTableView and Drag&Drop
      • From: Giovanni Donelli <email@hidden>
  • Prev by Date: Re: How to get image real number of bits per pixel
  • Next by Date: Re: How to get image real number of bits per pixel
  • Previous by thread: Re: NSDocument close notification
  • Next by thread: Re: NSTableView and Drag&Drop
  • Index(es):
    • Date
    • Thread