Thanks for that Ken, that's a very useful heads-up that I wasn't
previously aware of. I was part way through changing the code when I
got this, and it meant I could back out most of the changes. It's
working well now... I did go with your suggestion here for -
removeObjectsInArray: since it
Replying to myself...
On Jul 2, 2008, at 4:51 AM, Ken Thomases wrote:
You should probably implement your removeObjectsInArray: in terms of
-[NSArray indexOfObjectIdenticalTo:] and removeObjectsAtIndexes:.
You know what? That would probably be tedious and error-prone. Given
that you alrea
On Jul 1, 2008, at 7:16 PM, mmalc Crawford wrote:
On Jul 1, 2008, at 4:33 PM, Graham Cox wrote:
I also have a number of methods that allow "things" to be added
from arrays, or indexed by an index set. Is there a way to make
these KVC/KVO compliant or would they all
have to call through to
On Jul 1, 2008, at 4:33 PM, Graham Cox wrote:
I also have a number of methods that allow "things" to be added from
arrays, or indexed by an index set. Is there a way to make these KVC/
KVO compliant or would they all
have to call through to one or more of these methods to ensure that?
I have a container class which has a mutable array.
To allow it to be KVC/KVO compliant, I'm implementing:
- (void)setObjects:(NSArray*) objs;
// KVC/KVO compliant
- (NSArray*)objects;