Skip to content

Commit 8ce67bc

Browse files
authored
Fix UIKitNavigation documentation (#288)
1 parent 997d74e commit 8ce67bc

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Sources/UIKitNavigation/Bindings/UIColorWell.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/// - Parameters:
1212
/// - frame: The frame rectangle for the view, measured in points.
1313
/// - selectedColor: The binding to read from for the selected color, and write to when the
14-
/// selected color is changes.
14+
/// selected color changes.
1515
public convenience init(frame: CGRect = .zero, selectedColor: UIBinding<UIColor?>) {
1616
self.init(frame: frame)
1717
bind(selectedColor: selectedColor)

Sources/UIKitNavigation/Bindings/UISegmentedControl.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
@available(iOS 14, tvOS 14, *)
66
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.
99
///
1010
/// - Parameters:
1111
/// - 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.
1414
/// - fileID: The source `#fileID` associated with the control.
1515
/// - filePath: The source `#filePath` associated with the control.
1616
/// - line: The source `#line` associated with the control.
@@ -33,11 +33,11 @@
3333
)
3434
}
3535

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.
3737
///
3838
/// - 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.
4141
/// - fileID: The source `#fileID` associated with the binding.
4242
/// - filePath: The source `#filePath` associated with the binding.
4343
/// - line: The source `#line` associated with the binding.

0 commit comments

Comments
 (0)