NSScrollView
でバインドされているを持っていArrayController
ます。コンテンツをアルファベット順に並べ替える必要があります。バインディングでこれを実行しようとしましたが、バインドする適切なものが見つかりません。sortDescriptor
私は自分で以下を使用しましたArrayController
。
[myArrayController setSortDescriptors:[NSArray arrayWithObject:[NSSortDescriptor sortDescriptorWithKey:@"myKey" ascending:YES selector:@selector(compare:)]]];
プロセスのステップを見逃しているのでしょうか、それともコンテンツの分類に近づいていないのでしょうか?