Re: Array Operators & array controllers
Re: Array Operators & array controllers
- Subject: Re: Array Operators & array controllers
- From: Scott Anguish <email@hidden>
- Date: Sat, 28 Feb 2004 03:33:18 -0500
On Feb 28, 2004, at 2:27 AM, Allan Odgaard wrote:
On 28. Feb 2004, at 1:36, mmalcolm crawford wrote:
Will the array operators work on an array controller if it is not
back
by an array, but is using indexed access instead?
Umm, that's one that's easy enough to test empirically [...]
Please do not say such things! :) We never ever want to rely on
behavior that we have "tested empirically" -- only on the behavior
which is clearly documented. The former is generally what breaks
applications on upgrades.
Array Operators are documented as part of the Key-Value Coding topic.
That should be an excellent indicator of how it's implemented.
KVC doesn't differentiate between an array and something accessed via
the indexed accessor methods as far as developers are concerned. Is
that not clearly stated in the doc? Does it need to be more clearly
stated someplace?
I've filed a bug that it might be necessary to clarify this further.
Of cause the latter might not always be easy due to the
under-documented state of OS X...
We are working diligently on the documentation. Indeed, mmalc and I
monitor this list on our own time to help developers and make sure that
our doc covers what _you_ need.
If you find areas that are lacking, __please__ file enhancement bugs.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.