Re: Modernising dragging problem

2015-02-02 Thread Markus Spoettl
On 01/02/15 23:06, Graham Cox wrote: On 1 Feb 2015, at 5:23 am, Markus Spoettl ms_li...@shiftoption.com wrote: I did the same conversion a while back and have had no such issue. I found it completely straight forward and surprisingly painless. Are you sure you're implementing all the

Re: Modernising dragging problem

2015-02-01 Thread Graham Cox
On 1 Feb 2015, at 5:23 am, Markus Spoettl ms_li...@shiftoption.com wrote: I did the same conversion a while back and have had no such issue. I found it completely straight forward and surprisingly painless. Are you sure you're implementing all the required protocols? + In the view

Re: Modernising dragging problem

2015-01-31 Thread Markus Spoettl
On 31/01/15 00:15, Graham Cox wrote: I'm updating some older code that uses the now-deprecated [NSView dragImage:at:offset:pasteboard:source:slideback:] to use NSDraggingSession and pals. Note that this older code works just fine, I've never had any issues with it. I'm doing this mostly just to

Modernising dragging problem

2015-01-30 Thread Graham Cox
I'm updating some older code that uses the now-deprecated [NSView dragImage:at:offset:pasteboard:source:slideback:] to use NSDraggingSession and pals. Note that this older code works just fine, I've never had any issues with it. I'm doing this mostly just to clear out compiler warnings, though

Re: Modernising dragging problem

2015-01-30 Thread Kyle Sluder
On Fri, Jan 30, 2015, at 05:15 PM, Graham Cox wrote: In order to use NSDraggingItem, I first need to make sure the stuff I'm dragging supports NSPasteboardWriting. I've done that, it seems straightforward enough. Then I build a NSDraggingItem and use the same image I previously used, so

Re: Modernising dragging problem

2015-01-30 Thread Graham Cox
On 31 Jan 2015, at 10:25 am, Kyle Sluder k...@ksluder.com wrote: Does the source implement the required method -[NSDraggingSource draggingSession:sourceOperationMaskForDraggingContext:]? This is the new replacement for -draggingSourceOperationMaskForLocal:. Ah, thanks - It wasn't - but