Re: Use of mutableArrayValueForKey

2010-12-17 Thread Ken Thomases
On Dec 17, 2010, at 3:42 AM, Giannandrea Castaldi wrote: > I have a class with a NSMutableArray as readonly property and I need > to execute an action when a new item is added to the array. > I would like: > - to use key-value observing on my NSMutableArray with the collection > accessor pattern >

Use of mutableArrayValueForKey

2010-12-17 Thread Giannandrea Castaldi
Hi, I have a class with a NSMutableArray as readonly property and I need to execute an action when a new item is added to the array. I would like: - to use key-value observing on my NSMutableArray with the collection accessor pattern - to preserve the information hiding of my objects and then to ch