All Questions
16
questions
0
votes
1
answer
48
views
Can't Drag from NSTableView with more than one row
I'm writing an app that should allow me to drag items from an NSTableView to another view (custom timeline view).
This works perfectly as long as there is only one item in my NSTableView. The fist ...
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 ...
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:...
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 ...
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 ...
3
votes
1
answer
1k
views
How do I drag and drop into an NSOutlineView without specifying the row location?
I'm pretty new to Cocoa, and I'm developing an application that does drag/drop from and into NSOutlineView.
I've implemented "outlineView:validateDrop:proposedItem:proposedChildIndex", and "...
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 ...
1
vote
2
answers
593
views
How to enable trash to accept drop from cocoa application?
Is their any way to enable application to drop items into trash. Right now i m drag and drop item from NSTableView to NSTableView and NSOutlineView.
I got only single question at here How to enable ...
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 ...
23
votes
4
answers
5k
views
Opening a gap in NSTableView during drag and drop
I've got a simple, single-column, view-based NSTableView with items in it that can be dragged to reorder them. During drag and drop, I'd like to make it so that a gap for the item-to-be-dropped opens ...
5
votes
2
answers
3k
views
Dragging out of NSTableView to Remove
I have an NSTableView that contains a number of items. I'd like to implement dragging from inside and dropping outside of the NSTableView to delete the dragged item. (Kind of like how Safari 'poofs' ...
1
vote
1
answer
475
views
Can NSTableView handle normal drag-and-drop methods?
I'd like to use NSTableView without the NSTableViewDataSource Methods but just like a normal view. draggingEntered: and draggingExited: are being called but when I return NSDragOperationCopy, I don't ...
4
votes
7
answers
12k
views
Implementing drag and drop in NSTableView
Can anyone help me to implement drag and drop in an NSTableView? I used this code below, but these methods are not getting called during execution.
- (BOOL)tableView:(NSTableView *)tv ...
1
vote
0
answers
265
views
NSTableView Drag & Drop not working inside of an NSCollectionViewItem
I have a NSCollectionView and inside of the NSCollectionViewItems there is a label and a NSTableView. The NSTableViews are working properly EXCEPT for the drag & drop methods (tableView:...
1
vote
1
answer
760
views
NSOutline View Drag-n-Drop Problem
Dear All,
I am fighting with NSOutline View to perform drag-n-drop within the table since last 2-3 day but couldn't get what i am doing wrong,
This is what i have done so far,
Requirement,
1 -- I ...