> 
>> 
>>> 
>>> The NSDraggingDestination protocol has a draggingEnded: method, which the 
>>> documentation says can be used to cancel auto-expansion of a drag 
>>> destination.
>> 
>> This may be a documentation bug. Can you point me to the location where you 
>> read this?
> 
> file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSDraggingDestination_Protocol/Reference/Reference.html
> 

Thanks for the reference. This isn't a documentation bug, it is just stating:

> This method might be used by a destination doing auto-expansion in order to 
> collapse any auto-expands.
> 


But, it isn't stating that is the way that NSOutlineView auto-collapses 
auto-expanded items. It's a recommendation for developers who might want to 
implements something like this. NSOutlineView's implementation does it 
differently, which is why it doesn't work for you to manually call it.

-corbin


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to