With just the NSLog, it prints what I expect, int is never higher than 1 less than the count. Something I can't figure out is with the rest of the code is when I click the remove button it gets stuck in the pressed position as the program enters an infinite loop, and prints out:
2013-05-04 02:32:17.874 ToDoList[571:903] count: 7, at: 2
2013-05-04 02:32:34.763 ToDoList[571:903] *** -[NSCFArray objectAtIndex:]: index (6) beyond bounds (6)
**last line repeats on and on**
The bounds, from what I can tell is technically in bound, on that run I had 7 members in NSMutableArray so index 6 should point to the last position. Even though int at=2.
so other than writing my own version of NSMutableArray, how would I do this?