Re: Adding objects from one array to another and and Key Value Observing [SOLVED]

2010-06-09 Thread Mazen M. Abdel-Rahman
Thanks Ken, I was able to solve the problem by not using NSMutableArray's addObjectsFromArray method. Instead I replaced it with: NSMutableArray * eventsArrayProxy = [self mutableArrayValueForKey:@"events"]; NSRange range = NSMakeRange([events count], [appointments count]); N

Re: Adding objects from one array to another and and Key Value Observing

2010-06-09 Thread Ken Thomases
On Jun 9, 2010, at 3:19 PM, Mazen M. Abdel-Rahman wrote: > I have a view class that observes changes in a model class's array via KVO. > Unfortunately - when ever the array is updated - the updates are sent to the > view one at at a time. > > In my model class I have the following line: > >

Re: Adding objects from one array to another and and Key Value Observing

2010-06-09 Thread Quincey Morris
On Jun 9, 2010, at 13:19, Mazen M. Abdel-Rahman wrote: > I have a view class that observes changes in a model class's array via KVO. > Unfortunately - when ever the array is updated - the updates are sent to the > view one at at a time. > > In my model class I have the following line: > >

Adding objects from one array to another and and Key Value Observing

2010-06-09 Thread Mazen M. Abdel-Rahman
Hi All, I have a view class that observes changes in a model class's array via KVO. Unfortunately - when ever the array is updated - the updates are sent to the view one at at a time. In my model class I have the following line: NSMutableArray * eventsArrayProxy = [self mutableArrayV