0

Is it possible to have a NSCollectionView bound to a core data model (by NSArrayController) and having the first item not to show the first item of NSArrayContoller but a custom view (NSButton)?

(The second item of the NSCollectionView would then dislpay the NSArrayController's first item.)

4

1 回答 1

0

我确信这是可能的,但我不确定是否有必要。

如果第一个项目与集合无关(至少在显示方面),为什么还要将它包含在集合视图中?您可以将其设置为适合集合视图的单独视图,然后按预期使用集合视图。

于 2012-03-07T01:28:58.483 回答