Skip to main content

All Questions

76 questions with no upvoted or accepted answers
9 votes
0 answers
2k views

UICollectionView cells appear duplicated in place after cancelled drag sessions

I’m having trouble with an obscure problem implementing local drag and drop in a UICollectionViewController. The collection view allows dragging of items into and out of folders. All looks and works ...
Derek Pollard's user avatar
6 votes
0 answers
464 views

NSCursor's disappearingItemCursor not staying set outside of window

I have a pop-down status bar application that contains an NSTableView. When a row is dragged outside the table (drag-drop works here completely, this is not the focus of the question) I change the ...
coneybeare's user avatar
  • 33.1k
5 votes
1 answer
1k views

Mac app - drag and drop files into a menubar application

My inspiration for this project is the Droplr and CloudApp mac menubar applications. I have been attempting to implement the code explained here. However, when I implement the code, the menubar ...
user1485691's user avatar
5 votes
1 answer
593 views

Show indicators while programmatically scrolling UIScrollView

I am writing a framework which simplifies common (but sometimes tricky) drag and drop tasks in iOS. As part of this framework, when the user drags (and briefly holds) an object near the edge of a ...
Jon Hull's user avatar
  • 689
3 votes
0 answers
324 views

IOS 11 Drag'n'Drop How to drop custom file

I need to copy dropped data to my custom path. With images it's working fine. Here is the code: - (UIDropProposal *)dropInteraction:(UIDropInteraction *)interaction sessionDidUpdate:(id<...
user3226859's user avatar
3 votes
0 answers
678 views

Implement drag and drop in nsviewcontroller

I'm trying to catch drag and drop event in nsviewcontroller, but draggingEntered is not called . here is my code : - (void)viewDidLoad { [self.view registerForDraggedTypes:[NSArray ...
Nininea's user avatar
  • 2,719
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 ...
Nightbirdsevolve's user avatar
3 votes
0 answers
294 views

Strange NSPasteboard and TextEdit interaction

I am drag-dropping a string from two places in my app. One from a custom NSView and one from a NSTableDataSource delegate. The first one allows me to drag text into the TextEdit application, the ...
Joe's user avatar
  • 47.3k
2 votes
0 answers
276 views

NSFilePromiseReceiver returns NSURLErrorDomain -1001 "(null)" when receiving files

I've been working to update the performDragOperation method to use NSFilePromiseReceiver. However, any time I drag a file, the reader returns Error Domain=NSURLErrorDomain Code=-1001 "(null)" Here'...
Drew's user avatar
  • 21
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 ...
iniyan's user avatar
  • 131
2 votes
1 answer
188 views

Drag from NSCollectionView to NSOutlineView

OK, here's is what I want to do : I have an NSCollectionView filled with items I have an NSOutlineView (a "tree" structure actually) I want to be able to drag any item from the NSCollectionView and ...
Dr.Kameleon's user avatar
  • 22.8k
2 votes
0 answers
198 views

How to drag Button from popover to self.view?

i am trying to make some logic to drag the button from popover to self.view, i have two different classes one for popover in which i am making two button which comes in popover, and another class is ...
HTU's user avatar
  • 1,034
2 votes
0 answers
247 views

How to drag and drop an item on top another

I am trying to create a little game, and have a problem with the dragging and dropping of objects : I am using UIPanGestureRecognizer on two buttons. What I want is for button 2 to be highlighted when ...
Glyphs's user avatar
  • 97
1 vote
0 answers
303 views

Drag & drop issue of invisible collection view cell

Updated description Please find image here. here i have used two collection view.one for question and second for option and i want to fill in the blank with option by using drag and drop. but there ...
Manish Patel's user avatar
1 vote
0 answers
178 views

NSOutlineView drag and drop item as file

I'm recently working on an project aimed to extract files from an rar archive. I use an NSOutlineView to present the content. In which every file and directory listed as an item of class Entry. I want ...
oxnz's user avatar
  • 865

15 30 50 per page
1
2 3 4 5 6