Doesn't need to be defined on a separate line:

`[view setBackgroundColor:index <= priority ? enabledColor : disabledColor]` is sufficient