control deslizante Swiftui

@State var size : CGFloat = 20.0
var body: some View {
   	Slider(value: $size, in: 1...100, step: 1.0)
	Text("\(size, specifier: "%.0f")")
}
Frog Caller