Hi David,
Yes, COObject and any subclass should be automatically KVC/KVO compliant.
Quentin: any special exceptions I'm forgetting?

COAttributedStringWrapper.m (in CoreObject/Extras/Model) is an example of
an NSTextStorage implementation that uses KVO to observe some model
objects. This is used in the Typewriter sample app, so if you undo
changes/revert to an old revision, the UI updates automatically. Typewriter
and COAttributedStringWrapper.m are only tested on OS X, however.

Eric


On Mon, Sep 21, 2015 at 3:37 AM, David Chisnall <[email protected]> wrote:

> Hi,
>
> While EtoileUI is still evolving, is it possible to use CoreObject with
> bindings?  Do COObject / COGroup and friends conform to KVC / KVO?
>
> David
>
> -- Sent from my Difference Engine
>
> _______________________________________________
> Etoile-dev mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-dev
>
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to