セル テキストをグレー表示する前に、nsarray にデータがあるかどうかを確認しようとしていますが、何らかの理由で、恐ろしい SIGBRT を使用した if 評価で爆発しています... キー 'myIndex' が存在する場合、次のコードは正常に動作します.. .ユーザーがアプリの最後に注文を送信するときにキーを削除します....注文後にアプリが開いたときにスキップしたい?????
if(![[[inList objectAtIndex:0] objectForKey:@"myIndex"] count] == 0){
NSArray *myIndexList = [[inList objectAtIndex:0] objectForKey:@"myIndex"];
NSLog( @"data from INDEX !!!!!!!! %@", myIndexList);
for(int n=0; n<[myIndexList count]; n++)
{
if(indexPath.row == [[myIndexList objectAtIndex:n] integerValue])
{
cell.textLabel.textColor = [UIColor lightGrayColor];
}
}
}
お時間を割いてご協力いただき、誠にありがとうございました。