I was wondering how do I get sort through an do something different based on every "tenth" item in an array. I don't know much but I think it would kind of go like this...
for (NSDictionary *object in array) {
if (0==(object % 10)) {
//DO SOMETHING
}
}
But this is obviously pseudo code that doesn't work. Can any one help me out with this?