Re: willDisplayOutlineCell of view-based NSOutlineView is not called
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: Tue, 26 Jun 2012 11:30:28 +0300
Thanks for pointing this out. I added it.
Best Regards,
Nava Carmon,
Moshiach Times Ltd.,
e-mail: email@hidden
Skype: navacarmon
Phone: +972.52.8157770
On Jun 25, 2012, at 11:32 PM, Corbin Dunn wrote:
> You really want to call [super didAddSubview:] in that code snippet.
>
> corbin
>
> On Jun 23, 2012, at 2:29 PM, Nava Carmon <email@hidden> wrote:
>
>> 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
>
_______________________________________________
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