幾種設置數組參數反饋數組
NSMutableArray *array = [NSMutableArray arrayWithObjects:@"1", nil];日誌
[array removeObjectAtIndex:nil];rem
//數組空 index:nil -[__NSArrayM removeObjectsInRange:]: range {0, 1} extends beyond bounds for empty array'it
//數組空 index:1 -[__NSArrayM removeObjectsInRange:]: range {1, 1} extends beyond bounds for empty array'table
//數組有值1 index:2 越界 -[__NSArrayM removeObjectsInRange:]: range {2, 1} extends beyond bounds [0 .. 0]'tab
//有值 index nil 不崩潰參數
數組爲空崩潰信息是有顯示,但不肯定崩潰日誌是否有記錄,如今感受前三種崩潰,日誌的記錄都同樣。index