Re: NSOutlineView dragging weirdness

2014-05-22 Thread Ken Thomases
On May 21, 2014, at 10:10 PM, Graham Cox wrote: I'm using NSOutlineView with view-based rows. I've set it up to allow drag and drop of a row. When the drag is initiated, it throws an exception with the following stack trace: #00x7fff8b6d4e4a in objc_exception_throw () #1

Re: NSOutlineView dragging weirdness [SOLVED]

2014-05-22 Thread Graham Cox
Thanks Ken, though it turned out to be a stupid error on my part (not unexpectedly!). My custom cell view declared a property I called 'layer' which returns the associated model object. Of course this conflicts with NSView's 'layer' property which returns any underlying Core Animation layer,

NSOutlineView dragging weirdness

2014-05-21 Thread Graham Cox
I'm using NSOutlineView with view-based rows. I've set it up to allow drag and drop of a row. When the drag is initiated, it throws an exception with the following stack trace: #0 0x7fff8b6d4e4a in objc_exception_throw () #1 0x7fff8d00412d in -[NSObject(NSObject)