• 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: Tue, 26 Jun 2012 11:48:40 +0300

And thank you for answering my question…

Nava





On Jun 26, 2012, at 12:15 AM, M Larsen wrote:

> As the guy who provided this snippet, I just want to say that it has been fixed on SO in the hope that future users of that site don't get confused.
>
> Thanks for catching the missing call to super.
>
>
> M Larsen
>
>
>
> On 25 Jun 2012, at 22:32, 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
>

_______________________________________________

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: 
 >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>)
 >Re: willDisplayOutlineCell of view-based NSOutlineView is not called (From: Nava Carmon <email@hidden>)
 >Re: willDisplayOutlineCell of view-based NSOutlineView is not called (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: willDisplayOutlineCell of view-based NSOutlineView is not called
  • Next by Date: Re: PDFView not displaying properly/immediately
  • Previous by thread: Re: willDisplayOutlineCell of view-based NSOutlineView is not called
  • Next by thread: CFPreferences and Mountain Lion
  • Index(es):
    • Date
    • Thread