shorten some lines and use shorthand operators to better comply with swiftlint
shorten some lines and use shorthand operators to better comply with swiftlint

MattLewin/NumericPicker,MattLewin/NumericPicker