after getting a lot of warnings when changing (by accident) the simulator (from 32 to 64 bit platforms), I'm getting rid of all the int
declaration and changing those for NSinteger
s.
But I have another warning in this piece of code:
- (IBAction)nextText:(UIBarButtonItem *)sender {
NSInteger i=[self.indexPathArray indexOfObject:[self indexPathForActiveText]];
//before it was int i=...
if (i<[self.indexPathArray count]-1) {
[self moveRows:++i];
}
}
however on the line [self moveRows:++i];
I get this warning again:
'implicit conversion loses integer precision:...'