Re: Interrupting auto-expansion in NSOutlineView
Re: Interrupting auto-expansion in NSOutlineView
- Subject: Re: Interrupting auto-expansion in NSOutlineView
- From: Corbin Dunn <email@hidden>
- Date: Tue, 27 Oct 2009 16:30:19 -0700
>
>>
>>>
>>> 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 (email@hidden)
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:
This email sent to email@hidden