-draggingEnded

David Dunham dunham at mac.com
Wed Nov 14 07:52:33 PST 2007


On 14 Nov 2007, at 01:44, Christiaan Hofman wrote:

> NSDraggingSource is an informal protocol, which means it may be  
> implemented in some views (like NSTableView) and in other cases you  
> may have to implement it yourself. I don't know what CellEditor is,  
> but it sure does not sound like a subclass of a view that implements  
> it.


CellEditor is my class, and I do implement draggingEnded:. The  
exception comes when I call super (an NSTextView).

It's even worse -- I changed the code to

- (void) draggingEnded: (id <NSDraggingInfo>) aSender
	// ...
	if ([super respondsToSelector: @selector(draggingEnded:)])
		[super draggingEnded: aSender];

and still get unrecognized selector.

David Dunham
Voice/Fax: 206 783 7404             http://www.pensee.com/dunham/
Imagination is more important than knowledge. -- Albert Einstein


David Dunham     A Sharp, LLC
Voice/Fax: 206 783 7404     http://a-sharp.com
Efficiency is intelligent laziness.



More information about the MacOSX-dev mailing list