• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Interrupting auto-expansion in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Interrupting auto-expansion in NSOutlineView (From: Don Altman <email@hidden>)
 >Re: Interrupting auto-expansion in NSOutlineView (From: Corbin Dunn <email@hidden>)
 >Re: Interrupting auto-expansion in NSOutlineView (From: Don Altman <email@hidden>)

  • Prev by Date: Odd window behavior LSUIElement=1
  • Next by Date: Re: waiting for async callback in main thread
  • Previous by thread: Re: Interrupting auto-expansion in NSOutlineView
  • Next by thread: Using UISwitch within TabBar Application [iPhone]
  • Index(es):
    • Date
    • Thread