Skip to main content

All Questions

0 votes
0 answers
56 views

NSPasteboard ops working but not DnD

I have a document-based Cocoa application with bindings enabled; it's supposed to be a text-snippet manager. I'm developing in system version 10.9 with Xcode 6.2. The main document window has a split ...
daniel julian's user avatar
1 vote
1 answer
1k views

Dragging files into other applications in cocoa OSX

I'm trying to convert a windows application into OSX, everything is working now, except this small feature, the drag&drop of files from my app into any other window that supports drops. Receiving ...
megamau's user avatar
  • 33
1 vote
1 answer
400 views

cocoa: Drag and Drop svg images

I'm working on the simple app that displays icons in the NSCollectionView. NSCollectionView displays icons preview in png format and users can drag it to the image editor. I would like to allow user ...
user1495803's user avatar
2 votes
1 answer
554 views

NSOutlineView drag promises with directories

How does one implement an NSOutlineViewDataSource to allow dragging directories that do not exist in the file system at the time of dragging to the Finder? I have searched and searched and read a ton ...
Josh The Geek's user avatar
5 votes
1 answer
282 views

Error handling when keeping kPasteboardTypeFileURLPromise

My Mac app should allow dragging and dropping of kPasteboardTypeFileURLPromise to get file promises from or to the pasteboard. As far as I understand, each NSPasteboardItem should have ...
Yoav's user avatar
  • 6,058
1 vote
1 answer
416 views

NSPasteboard: Dragging multiple objects of different types

I want to copy data from my app into a Numbers or Excel sheet. The data consists mostly of integers, but also some images. I try to accomplish this by first putting the data in a NSTableView, and then ...
Jonas Eriksson's user avatar
1 vote
1 answer
311 views

Get NSTableView to register drop from PNG source

Trying to get this to work, and not sure what I'm missing. The idea is to drop images on a NSTableView so that I can grab their paths and do some manipulations for them. I can get the drop to work for ...
Gordon Fontenot's user avatar