NSTableViewチェックボックス列とNSArrayController.
はNSTableViewにバインドされ、NSArrayControllerそのコンテンツを表示します。チェックボックス列は にバインドされていimgArrayController.arrangedObjects.check1ます。プログラムが開始されると、配列は空です。次のように、ループ内で arrayController を使用して値を追加します。
    [imgArrayController addObject:[NSDictionary dictionaryWithObjectsAndKeys:
        [NSImage imageNamed: [NSString stringWithFormat:@"%@" ,fileName]], @"image", 
        [NSString stringWithFormat:@"%@" ,fileName], @"filename", 
        @"YES", @"check1", 
        nil]];
正しい数の行が追加されますが、チェックボックスを YES に設定しようとするとエラーが発生します。これは私が得るエラーです:
2013-02-03 19:11:46.357 Stockuploader[561:303] Error setting value for key path check1 of object {
} (from bound object <NSTableColumn: 0x100152280>   identifier: check1): [<__NSDictionaryI 0x10010c190> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key check1.
誰かが私が間違っていることを理解するのを手伝ってくれませんか? 行はテーブル内に表示されますが、すべて空です。