Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cocoa/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Cocoa 在NSPopupButtonCell的NSTable列中,您可以绑定到哪些内容?_Cocoa_Binding_Nstablecolumn_Nspopupbuttoncell - Fatal编程技术网

Cocoa 在NSPopupButtonCell的NSTable列中,您可以绑定到哪些内容?

Cocoa 在NSPopupButtonCell的NSTable列中,您可以绑定到哪些内容?,cocoa,binding,nstablecolumn,nspopupbuttoncell,Cocoa,Binding,Nstablecolumn,Nspopupbuttoncell,在一个NSTable列中,有很多东西可以绑定到NSPopupButtonCell,我试着四处寻找解释,但似乎找不到任何解释 值选择下的每个绑定是用于什么的?例如,“内容”和“内容值”之间有什么区别 为什么“内容对象”会灰显 为什么要绑定到表列而不是弹出按钮单元格?可用于包含TextCell的表列的绑定选项也不同。这是如何实现的 这应该有助于对绑定的一般解释 有关绑定NSPopupButtonCell和核心数据的帮助,请访问我的教程: 它还将让您了解绑定对于非核心数据的工作方式。明白了。然而

在一个NSTable列中,有很多东西可以绑定到NSPopupButtonCell,我试着四处寻找解释,但似乎找不到任何解释

  • 值选择下的每个绑定是用于什么的?例如,“内容”和“内容值”之间有什么区别
  • 为什么“内容对象”会灰显
  • 为什么要绑定到表列而不是弹出按钮单元格?可用于包含TextCell的表列的绑定选项也不同。这是如何实现的

这应该有助于对绑定的一般解释

有关绑定NSPopupButtonCell和核心数据的帮助,请访问我的教程:
它还将让您了解绑定对于非核心数据的工作方式。

明白了。然而,绑定表列和绑定内部单元格之间有什么区别?我不确定确切的区别是什么,但我知道,对于我使用绑定所做的一切,列始终是绑定到的对象。你可以尝试绑定到细胞,看看会发生什么。