Skip to content

Integer types

Compare
Choose a tag to compare
@ay42 ay42 released this 27 Apr 01:40
b243f93

It's now possible to use integers as values without type casting in binding.
Works for value, range and point sliders.

@State var integer: UInt8 = 128

ValueSlider(value: $integer)