Re: How to know whether property in Cocoa class is KVO-compliant?
Re: How to know whether property in Cocoa class is KVO-compliant?
- Subject: Re: How to know whether property in Cocoa class is KVO-compliant?
- From: mmalc Crawford <email@hidden>
- Date: Sun, 10 Jan 2010 20:36:25 -0800
On Jan 10, 2010, at 8:18 pm, Dave Fernandes wrote:
> Look for "Cocoa Bindings Guide" in the docs. It would be nice if it were cross-referenced in every class description. SelectedIndex should work for a segmented control. Haven't tried it myself though.
>
No; the Cocoa Bindings Reference doesn't catalogue KVO compliance, it lists bindings.
In general, controller objects observe model objects, and views observe controllers and models -- you typically don't bind to views. Thus you shouldn't generally expect views' properties to be observable.
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden