Ok a pretty simple question.. in c++ it seems to work but in objective-c i seem to struggle with it :S .. If you want to compare two arrays it should be something like thi
You want the isEqualToArray: method. As in:
isEqualToArray:
if ([arrayOne isEqualToArray:arrayTwo]) { // Do something }
This will recursively compare the two arrays, while having the advantage of not being needlessly circuitous and not requiring a loop.