它的优点和上节类似:紧凑数据表、跨三个具体子类的数据分区以及对子类任意数据的修改都只涉及一张表。
The pros are similar to the above section: compact tables, data partitions across three concrete subclass tables, and any data change on a subclass only involves one table.
它拥有两个数据表,细节如下。
您可以在这里看到 Cocoa 的便捷性:您只需从数据表获取它的新排序描述符,使用它们来对 CPDictionary 重新排序,然后重新加载数据表。
You can see the convenience of Cocoa at work here: you simply get its new sort descriptors from the table, use them to re-sort the underlying CPDictionary, and then reload the table.
应用推荐