Reputation: 461
I have an strange error after removing an object in a NSMutableArray.
If i remove an object with
[Array removeObjectAtIndex:2];
the array changed to this:
why are there now 2 ContactViewControllers??
Upvotes: 4
Views: 265
Reputation: 2584
lldb lies sometimes. It gets confused and will display the incorrect information. Try doing
po Array
you should see the correct array contents then.
Upvotes: 7