Can't get rid of this warning?
Posted
by NextRev
on Stack Overflow
See other posts from Stack Overflow
or by NextRev
Published on 2010-06-08T14:26:36Z
Indexed on
2010/06/08
14:32 UTC
Read the original article
Hit count: 216
I'm getting this warning "Format not a string literal and no format arguments? Any ideas?
-(BOOL)isFirstPointReached{
NSString *firstPoint = [NSString stringWithFormat:[pointsToFillArray objectAtIndex:0]];
NSString *lastPoint = [NSString stringWithFormat:[pointsToFillArray lastObject]];
if([firstPoint isEqualToString:lastPoint]){
return YES;
}
else{
return NO;
}
}
© Stack Overflow or respective owner