hello,
i think the code here:
Code:
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"waypoint_map_id==%@", mapIDx];
[request setPredicate:predicate];
is the problem, seems to me that waypoint_map_id is a number.. while mapIDx is a NSString.....
if waypoint_map_id is a NSString, then that == will never be true, since
u need to use string comparison, instead of == since that just compares the pointers
don't know if that's correct, but it's worth a try