• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to know whether property in Cocoa class is KVO-compliant?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to know whether property in Cocoa class is KVO-compliant? (From: Jerry Krinock <email@hidden>)
 >Re: How to know whether property in Cocoa class is KVO-compliant? (From: Dave Fernandes <email@hidden>)

  • Prev by Date: Re: Custom sheet question - which variable?
  • Next by Date: Need some help with custom views . . .
  • Previous by thread: Re: How to know whether property in Cocoa class is KVO-compliant?
  • Next by thread: Re: How to know whether property in Cocoa class is KVO-compliant?
  • Index(es):
    • Date
    • Thread