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 protected]
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 protected]> wrote:
>> 
>>> On Jun 21, 2012, at 1:22 AM, Nava Carmon <[email protected]> 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 protected])
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/ncarmon%40mac.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to