Re: Getting added object with KVO
Re: Getting added object with KVO
- Subject: Re: Getting added object with KVO
- From: Hannes Petri <email@hidden>
- Date: Wed, 12 Jul 2006 13:00:30 +0200
Okay, I think it doesn't work because I bind to
collections.arrangedObjects. But what should I bind to instead, to
get the functionality I want?
Hannes Petri
email@hidden
On 12 jul 2006, at 00.43, Hannes Petri wrote:
Hello!
I'm using KVO to observe an array controller, and when an object is
added, a view should be changed.
Now I want a pointer to the object that was added. How should I do?
Apples documentation says that I should get the index of the new
object, by querying the changes-dict with the key
NSKeyValueChangeIndexesKey, but that returns null.
What am I doing wrong? Is it possible to achieve what I want?
Hannes Petri
email@hidden_______________________________________________
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
_______________________________________________
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