KVO bug?
KVO bug?
- Subject: KVO bug?
- From: Matteo Manferdini <email@hidden>
- Date: Sat, 3 Jun 2006 20:18:36 +0200
Hi everyone. I'm trying to get arrays for removed and added items in
a KVO observed array. But, when I look into the change dictionary
(using NSKeyValueChangeOldKey and NSKeyValueChangeNewKeys) i get a
NSNull object instead of the arrays.
I noticed in mmalc'c GraphicsBinding sample (on http://
homepage.mac.com/mmalc/CocoaExamples/controllers.html) the following
comment:
/*
Should be able to use
NSArray *oldGraphics = [change objectForKey:NSKeyValueChangeOldKey];
etc. but the dictionary doesn't contain old and new arrays...??
*/
So is this a bug in Cocoa KVO? Do I have to do it manually or there
is a way to make it work?
Thank you very much.
---
Matteo Manferdini
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden