开发者

What's the most *simple* way to implement a plain data object which conforms key-value-observing?

开发者 https://www.devze.com 2023-02-19 07:52 出处:网络
What\'s the most simple way to implement a plain data object which conforms key-va开发者_开发百科lue-observing?Make an class with properties for its plain value attributes and KVC-compliant collection

What's the most simple way to implement a plain data object which conforms key-va开发者_开发百科lue-observing?


Make an class with properties for its plain value attributes and KVC-compliant collection accessors for collections. Foundation magic will take care of the notifications for a simple object like that.

0

精彩评论

暂无评论...
验证码 换一张
取 消