Re: Restoring a NSTreeController selection
Re: Restoring a NSTreeController selection
- Subject: Re: Restoring a NSTreeController selection
- From: Scott Anguish <email@hidden>
- Date: Fri, 25 Jun 2010 23:59:51 -0400
Done, but don’t please count on this getting bugs fixed. I happened to have the file out.
The right way... File bugs. You get tracking, we get tracking, management knows which docs need attention. What we’ve done gets tracked, etc...
On Jun 25, 2010, at 4:39 AM, email@hidden wrote:
> On 25 Jun 2010, at 08:12, Scott Anguish wrote:
>
>>>
>>> I was deterred to do this after reading this in the documentation for -arrangedObjects
>>>
>>> -----
>>> Special Considerations
>>> Prior to Mac OS X v10.5 this method returned an opaque root node representing all the currently displayed objects. This method should be used for binding, no assumption should be made about what methods this object supports.
>>> -----
>>>
>>> I feel a little stupid as it's obviously referring to prior 10.5, although the language could be clearer.
>>>
>>
>> Something along the lines of
>>
>>
>> Special Considerations
>> Prior to Mac OS X v10.5 this method returned an opaque root node representing all the currently displayed objects, suitable for use with Cocoa bindings. No assumption should be made about what methods this opaque object supports.
>>
>> Ties the consideration to the version better..
>>
>> Would that make it clearer for you and others?
>>
> It would help a lot if the comment from the 10.5 header file was also included:
>
> From Mac OS X v10.5 on this method returns a proxy for the root tree node that responds to -childNodes and -descendantNodeAtIndexPath:(NSIndexPath *)indexPath
>
> Regards
>
> Jonathan Mitchell
>
> Developer
> Mugginsoft LLP
> http://www.mugginsoft.com
>
> _______________________________________________
>
> 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