I have a conditional statement that I need some help with the syntax:
if (mySegment.selectedSegmentIndex == 0 && [[[dict objectForKey:[keys objectAtIndex:row]] objectAtIndex:0] == 8 ) {
NSLog(@"test");
}
I’m getting a comparison between a pointer and integer problem warning. I need a conditional based on a selection of a segment value and then compare that to a value returned from a dictionary object.
thanks for any help.
convert
dictvalue into integer and then comparetry this: