You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+19-23
Original file line number
Diff line number
Diff line change
@@ -135,33 +135,29 @@ You can access the range values in two ways, depending on the fact that you're u
135
135
- for `SwiftUI`, use the `RangeSlider.minValueSelected` and `RangeSlider.maxValueSelected` binding values
136
136
137
137
#### UIKit - RangeUISliderDelegate
138
-
To get the current values from the slider in a `UIKit` project, set the slider delegate property. The delegate of `RangeUISlider` must implement the `RangeUISliderDelegate` protocol, that has three methods:
138
+
To get the current values from the slider in a `UIKit` project, set the slider delegate property. The delegate of `RangeUISlider` must implement the `RangeUISliderDelegate` protocol, that has three methods. See code below.
139
139
140
140
```swift
141
-
142
-
/**
143
-
Calls the delegate when the user has started the change of the range.
144
-
*/
145
-
@objcoptionalfuncrangeChangeStarted()
146
-
147
-
/**
148
-
Calls the delegate when the user is changing the range by moving the knobs.
141
+
@objcpublicprotocolRangeUISliderDelegate {
142
+
/**
143
+
Calls the delegate when the user has started the change of the range.
144
+
*/
145
+
@objcoptionalfuncrangeChangeStarted()
146
+
147
+
/**
148
+
Calls the delegate when the user is changing the range by moving the knobs.
149
149
150
-
- parameter minValueSelected: the minimum value selected.
151
-
- parameter maxValueSelected: the maximum value selected.
152
-
- parameter slider: the slider on which the range has been modified.
0 commit comments