NSImageCell、いくつかのNSTextFieldCells、およびNSPopUpButtonCellを使用してNSCellのカスタムサブクラスを作成しました。
次を使用してポップアップセルを初期化しています。
myPopUpCell = [[NSPopUpButtonCell alloc] init];
[myPopUpCell setBordered:NO];
[myPopUpCell setAutoenablesItems:NO];
[myPopUpCell addItemsWithTitles:[NSArray arrayWithObjects:@"Item1", @"Item2", @"Item3"]];
そしてそれを描くdrawInteriorWithFrame:inView:
アプリの実行中にポップアップセルをクリックしてもセルがポップアップしないことを除いて、すべてがうまく機能しているようです。何が間違っているのかについての提案はありますか?