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

Re: NSTableView and confused Drag&Drop


  • Subject: Re: NSTableView and confused Drag&Drop
  • From: Olivier Destrebecq <email@hidden>
  • Date: Thu, 12 Feb 2004 09:03:43 -0500

if you don't create the archive on the drag but on on the drop, then search the archive for promised drag from NSTAbleview

Olivier


On Feb 11, 2004, at 11:17 AM, Roberto Sobachi wrote:

I serched in all cocoa mailing list archive, but all examples,
documentation and other are too confused.

I've implemented the Drag from NSTableView to external resources, but I
can create only a pasteboard document.

How can I create in the location where I drop, a binary archive (the
same I can create with [plistData writeToFile:path atomically:YES];?

My code now is:

//DragOver NSTableVIEW
- (BOOL)tableView:(NSTableView *)tableView writeRows:(NSArray*)rows
toPasteboard:(NSPasteboard*)pboard
{
[pboard declareTypes:[NSArray arrayWithObjects: NSStringPboardType,
nil] owner:nil];
[pboard setString:@"document" forType:NSStringPboardType];

return YES;
}





Roberto Sobachi
developer
http://www.xidiar.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.
_______________________________________________
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.

References: 
 >NSTableView and confused Drag&Drop (From: Roberto Sobachi <email@hidden>)

  • Prev by Date: Re: About private framework
  • Next by Date: [SOLVED !] Re-enabling Expose for certain windows
  • Previous by thread: NSTableView and confused Drag&Drop
  • Next by thread: Re-enabling Expose for certain windows
  • Index(es):
    • Date
    • Thread