Skip to main content

All Questions

0 votes
0 answers
70 views

iOS - Choose picture from gallery or camera then crop, drag, delete or resize the picture

I'm working on an drawing project. I need to choose picture from gallery or take a picture from camera. Then user can crop the image. After that user can add the cropped picture to current DrawingView....
Kiet Nguyen's user avatar
0 votes
0 answers
147 views

OS X objective c Drag and Drop text inside textfield to change the order

I wanted separation and drag and drop of text inside NSTextfield or NSTextview. Please find sample of this in Mac System Preferences-> Language & Region -> Advanced ->Dates Screenshot attached.
Shiv Pogra's user avatar
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
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
0 votes
1 answer
1k views

How to register NSItemProvider for drag and drop in Objective-C?

I’m trying to implement drag and drop functionality in an Objective-C project for the iPad. The principles seem to be straight forward enough, but the examples are all in Swift and I'm simply unable ...
user9272716's user avatar
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
1 vote
1 answer
216 views

Remove blue line while drag drop in NSTableView mac app objective c

I have implemented drag drop feature in tableview. When doing drag drop, the blue line appears by default, I want to customise/remove this blue line. This may be a possible duplicate but I could not ...
Gypsa's user avatar
  • 11.3k
0 votes
0 answers
124 views

Drag and Drop Custom TableViewCell of NSTableView

#define MyPrivateTableViewDataType @"MyPrivateTableViewDataType" //add line in your awakeFormNib method [self.tableView registerForDraggedTypes:[NSArray arrayWithObject:...
Sangram Shivankar's user avatar
1 vote
1 answer
1k views

Cannot get drag and drop to work onto NSCollectionView

There is probably a simple mistake that I'm making, but I simply cannot get dropping of files onto an NSCollectionView to work even in the most basic way. In a test project, I have an ...
fbitterlich's user avatar
0 votes
0 answers
358 views

NSView based NSTableView – strange bouncing rows for Drag and Drop with NSTableViewDraggingDestinationFeedbackStyleGap

I have a view-based instance of NSTableView for which I’ve been changing the draggingDestinationFeedbackStyle, as most NSTableView Drag and Drop questions have been updated with reference to this ...
nanzen-ji'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
0 votes
0 answers
212 views

How to get subview with on NSEvent like mouse up on NSView?

I have multiple NSview with multiple subviews respectively within each NSView. I want to perform action on Drag & Drop. I could Drag view. but on Drop I want to get on exact subview dropping is ...
user3581597's user avatar
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
0 votes
1 answer
786 views

Reordering NSCollectionView with (Flow Layout)

I have a NSCollectionView, which I want to reorder. I´m using a Flow Layout, Delegate and Datasource is set to my ViewController. I have also registered my drag type but I only get the delegate call ...
Matt's user avatar
  • 448
0 votes
1 answer
69 views

I can't connect an object class file to a uitableview? ios objective-c

Hi I am trying to integrate http://www.scott-sherwood.com/tutorial/ios-5-drag-and-drop-between-uitableviews/ tutorial's function that we can drag and drop objects between two UITableViews located in a ...
Fido's user avatar
  • 216

15 30 50 per page
1
2
3 4 5
16