Ternary Operator Controlling of UIView elements.
This is just a cool little trick I realized I could use, when trying to update images based on the selected UISegmentedControl.
deleteBtn.imageView.image = (noteType.selectedSegmentIndex) ? [UIImage imageNamed:@"remove_button.png"]:[UIImage imageNamed:@"delete_button.png"] ;














