开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜