All Questions
Tagged with drag-and-drop objective-c
228
questions
1
vote
2
answers
369
views
Obj-C: application:openFiles: (multiple files dropped) not receiving all files. Bug?
Closest one I found is: https://stackoverflow.com/questions/4778932/cocoa-app-not-receiving-all-dropped-files-in-applicationopenfiles
But it hasn't been answered.
My Problem is this,
So let's say I ...
1
vote
0
answers
19
views
Replicate a draggable image on the click of a button
I am trying to create a draggable image upon button click in Objective C. For example, lets say the image is an X or an O or simply a dot. Each time I click an "Add" button, I would like for an image ...
0
votes
1
answer
321
views
Drop location in NSView
I'm writing a Cocoa Application (XCode 7.0.1) and within it, I have a NSTableView and a NSView. The application is designed in a why that we can drag and drop items from the NSTableView into the ...
2
votes
0
answers
82
views
How to drag and drop UIButton title to another button title but the original button remain in same place objective c?
I have created Uibutton programmatically as grid in scrollview.Now I need to drag and drop the UIbutton title to another button.But the original button title should remain same.I searched ...
3
votes
1
answer
833
views
NSCollectionView: Accept Drag Only Between Items, not Over
I have a NSCollectionView implemented and working fine. However, when
dragging items around to re-arrange them, I'd like to accept drags only
between objects.
The current behaviour is that you can ...
0
votes
2
answers
131
views
NSTabView blocking file-drop events active on underlying Window.
I have successfully implemented a file-drop functionality in my app. The Application window has a few NSTabView objects where dropping on them does not work. Anywhere else in the window the file-drop ...
0
votes
0
answers
458
views
Adding drag & drop on UIView on long press in ios?
I am have a UIView on which i want to Implement Drag & Drop feature.I have tried using Pan gesture in that case i am able to drag the view on screen but i am not able to get that drag & drop ...
1
vote
0
answers
138
views
drag drop to desktop in objective-C
I am trying to do an application in objective-c able to drag&drop files from the application to the desktop or finder.
I have the functionality to allow the drag done but I cant find any tutorial ...
1
vote
1
answer
238
views
Drag and drop does not work with NSStatusItem from OSX Dock's Download Stack
I am trying to get the file from OSX Dock's Download Stack. When i drag a file draggingEntered and draggingExited is called. But neither performDragOperation nor concludeDragOperation is called.
...
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 ...
0
votes
0
answers
90
views
Drag and Drop getting image name iOS?
I have list of images in scroll view and four zone view(drop image View).I was implemented the drag and drop functionality.my problem was when user drag the image from scroll view i want get the image ...
0
votes
0
answers
46
views
Pass a message to parent inside UIGestureRecognizer handler?
Forgive me if this has been asked elsewhere; I searched thoroughly and couldn't find anything. I am (brand) new to iOS development, and I'm learning things the Objective-C way. I've run across an ...
0
votes
1
answer
133
views
NSImageView drag and drop still works outside window boundaries
I have an NSImageView with drag and drop connected as follows:
-(NSDragOperation)draggingEntered:(id<NSDraggingInfo>)sender{
if ((NSDragOperationGeneric & [sender ...
3
votes
0
answers
123
views
Find the URL (drop location) of files dragged from an App to the Finder
When acting as a dragging source, it is possible for an App to drag file paths.
That enables you to drag files from your app to another location on Disk using the Finder.
I'm using a tableview, each ...
0
votes
0
answers
124
views
Drag and drop MIDI files to Finder is working but not other applications
I'm trying to implement drag and drop from a NSOutlineView in my application to other applications (.mid MIDI files), and it is working. I can drag them to Reaper (the DAW) into a track and I can drag ...