and this is the first FAQ in the Cocoa Bindings Programming Guide documentation

On Jun 21, 2008, at 10:12 PM, Chris Hanson wrote:

  [arrayOfData addObject:newData];

That right there is your problem. You are modifying the array itself, not the property, so it is not posting KVO notifications.

Replace that with

   [[self mutableArrayValueForKey:@"arrayOfData"] addObject:newData];

and observer notifications will be sent.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to