Using one setter for all model iVars

前端 未结 1 510
名媛妹妹
名媛妹妹 2021-01-29 04:35

I have a series of models for my application. Across all these models there are (will be) some 200 or 300 instance variables. The application stores its persistent data on a web

相关标签:
1条回答
  • 2021-01-29 05:08

    Use Key-Value Observing. You have to manually register yourself as an observer for every property, though.

    0 讨论(0)
提交回复
热议问题