Re: error displaying @count via bindings
Re: error displaying @count via bindings
- Subject: Re: error displaying @count via bindings
- From: email@hidden
- Date: Mon, 2 Apr 2007 12:00:28 -0700
How would this play out in code? Would I have an NSArrayController
for each instance of my class? Or should I just put custom willChange/
didChange notices in each of my NSMutableArray accessors and setters
in my class?
LA
Oop, I wasn't paying attention. I recall that the array and set
operators
are not observable, at least not for an array. I think you have to
"proxy"
through an NSArrayController, which I believe will eliminate the
error.
Never had to do it myself, but that's what I have heard.
I don't think this is well documented, or obviously documented--
i.e. neither
the KVC, KVO, or Bindings docs mention this, that I recall.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden