Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
NSDictionary のバインディング値を使用して NSTableView を埋める方法を知っている人はいますか?
前もって感謝します。
NSDictionaryControllerInterface Builder でを作成する必要があります。それを辞書にバインドしてNSTableViewから、 を 内のオブジェクトにバインドしますNSDictionaryController。
NSDictionaryController
NSTableView
ここを見てください: http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSDictionaryController_Class/Introduction/Introduction.html
Cocoa Bindings と KV コーディングをまだ完全に理解していない場合は、まずここから読み始める必要があります。
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaBindings/CocoaBindings.html%23//apple_ref/doc/uid/10000167i