Slider view in SwiftUI
Slider is a control for selecting a value from a bounded linear range of values. A slider consists of a “thumb” image that the user moves between two extremes of a linear “track”. The ends of the track represent the minimum and maximum possible values. As the user moves the thumb, the slider updates its bound value.
We will start with simple example. Our view will have a text and its font will be controlled by the slider…