0

有人可以指点我示例开源应用程序或教程或简要说明,如何创建按项目分组的表格视图(我认为它NSOutlineView,对吗?)。例如,我有按类别分组的产品并查找如下所示的表:

| Product name | Product cost |

- Category1

| product1 name | $100 |

| product2 name | $200 |

- Category2

| product3 name | $100 |

| product4 name | $200 |

谢谢。

4

1 回答 1

1

Yes, you use an NSOutlineView. Apple has sample code that shows exactly how to do this.

于 2010-02-18T23:38:41.363 回答