You have a double equals in your assignment to self.itemCondition. That's a comparison operator. You need to use just '=' to assign a value.
Also, if itemCondition is an NSString, then you need to change the syntax for each assignment so it looks like this:
self.itemCondition = @"new";
Note the @ and double quotes.
Also, I'd probably use a switch statement instead of several else if statements since you may have more segments in the future. So here's how the event method for your itemCondition segmented control would look for me.
- (IBAction)mySegmentedControl_ValueChanged:(id)sender {
switch (self.mySegmentedControl.selectedSegmentIndex) {
default:
case 0:
self.itemCondition = @"new";
break;
case 1:
self.itemCondition = @"any";
break;
}
}