• 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: willDisplayOutlineCell of view-based NSOutlineView is not called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: willDisplayOutlineCell of view-based NSOutlineView is not called


  • Subject: Re: willDisplayOutlineCell of view-based NSOutlineView is not called
  • From: Nava Carmon <email@hidden>
  • Date: Sun, 24 Jun 2012 00:29:55 +0300

Just for those who need to customize their outline view disclosure arrow:
Here's the answer from SO, that worked perfectly for me.

http://stackoverflow.com/questions/11127764/how-to-customize-disclosure-cell-in-view-based-nsoutlineview


Best Regards,

Nava Carmon,

Moshiach Times Ltd.,

e-mail: email@hidden
Skype: navacarmon
Phone: +972.52.8157770




On Jun 21, 2012, at 7:27 PM, Nava Carmon wrote:

> Thank you all for answering.
>
> Corbin, where is the best place to add my own disclosure button?
> I believe not in the view itself, since it's indented.
>
> Thanks
>
>
>
> On Jun 21, 2012, at 7:25 PM, Corbin Dunn wrote:
>
>>
>> On Jun 21, 2012, at 7:45 AM, Kyle Sluder <email@hidden> wrote:
>>
>>> On Jun 21, 2012, at 1:22 AM, Nava Carmon <email@hidden> wrote:
>>>
>>>>
>>>>
>>>>
>>>> And this is what apple documentation says on this:
>>>>
>>>> outlineView:willDisplayOutlineCell:forTableColumn:item:
>>>> Informs the delegate that an outline view is about to display a cell used to draw the expansion symbol.
>>>
>>> _There are no cells_ in a *view-based* outline view.
>>>
>>> Either on this list or in the developer forums (devforums.apple.com), Corbin Dunn acknowledged that lack of customizability of disclosure triangles is a known shortcoming with view-based outline views. He mentioned a workaround that involves looking for a subviews with a certain identifier.
>>
>> Please do log a bug requesting this functionality so we can expose it in an easy way.
>>
>> Yes, the documentation should be more clear too -- please log a bug on that also.
>>
>> Another alternative is to hide the disclosure triangle and add your own button that does it. It just would call expandItem or collapseItem as needed.
>>
>> 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

_______________________________________________

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

  • Follow-Ups:
    • Re: willDisplayOutlineCell of view-based NSOutlineView is not called
      • From: Corbin Dunn <email@hidden>
References: 
 >Re: willDisplayOutlineCell of view-based NSOutlineView is not called (From: Lee Ann Rucker <email@hidden>)
 >Re: willDisplayOutlineCell of view-based NSOutlineView is not called (From: Nava Carmon <email@hidden>)
 >Re: willDisplayOutlineCell of view-based NSOutlineView is not called (From: Kyle Sluder <email@hidden>)
 >Re: willDisplayOutlineCell of view-based NSOutlineView is not called (From: Corbin Dunn <email@hidden>)
 >Re: willDisplayOutlineCell of view-based NSOutlineView is not called (From: Nava Carmon <email@hidden>)

  • Prev by Date: Re: Lion permission problems
  • Next by Date: Why do we use -fobjc-arc instead of removing code with #define?
  • Previous by thread: Re: willDisplayOutlineCell of view-based NSOutlineView is not called
  • Next by thread: Re: willDisplayOutlineCell of view-based NSOutlineView is not called
  • Index(es):
    • Date
    • Thread