|
4 | 4 |
|
5 | 5 | @available(iOS 14, tvOS 14, *)
|
6 | 6 | extension UISegmentedControl {
|
7 |
| - /// Creates a new color well with the specified frame and registers the binding against the |
8 |
| - /// selected color. |
| 7 | + /// Creates a new segmented control with the specified frame and registers the binding against the |
| 8 | + /// selected segment. |
9 | 9 | ///
|
10 | 10 | /// - Parameters:
|
11 | 11 | /// - frame: The frame rectangle for the view, measured in points.
|
12 |
| - /// - selectedSegment: The binding to read from for the selected color, and write to when the |
13 |
| - /// selected color is changes. |
| 12 | + /// - selectedSegment: The binding to read from for the selected segment, and write to when the |
| 13 | + /// selected segment changes. |
14 | 14 | /// - fileID: The source `#fileID` associated with the control.
|
15 | 15 | /// - filePath: The source `#filePath` associated with the control.
|
16 | 16 | /// - line: The source `#line` associated with the control.
|
|
33 | 33 | )
|
34 | 34 | }
|
35 | 35 |
|
36 |
| - /// Establishes a two-way connection between a binding and the color well's selected color. |
| 36 | + /// Establishes a two-way connection between a binding and the segmented control's selected segment. |
37 | 37 | ///
|
38 | 38 | /// - Parameters:
|
39 |
| - /// - selectedSegment: The binding to read from for the selected color, and write to when the |
40 |
| - /// selected color changes. |
| 39 | + /// - selectedSegment: The binding to read from for the selected segment, and write to when the |
| 40 | + /// selected segment changes. |
41 | 41 | /// - fileID: The source `#fileID` associated with the binding.
|
42 | 42 | /// - filePath: The source `#filePath` associated with the binding.
|
43 | 43 | /// - line: The source `#line` associated with the binding.
|
|
0 commit comments