iPhone SDK – “warning:comparison between pointer and integer” By Josh Highland in iPhone app dev, tutorials May 13, 2010 If you get the error “warning:comparison between pointer and integer”, odds are you are thinking right, but implementing your comparison wrong. ur doin it wrong if(count == 2) { the right way if([count intValue] == 2) {