Skip to content

Commit 774b976

Browse files
improve radio group docs
1 parent 080603c commit 774b976

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Sources/ComponentsKit/Components/RadioGroup/Models/RadioGroupVM.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Foundation
22
import UIKit
33

4-
/// A model that defines the appearance of a radio group component.
4+
/// A model that defines the appearance properties for a radio group component.
55
public struct RadioGroupVM<ID: Hashable>: ComponentVM {
66
/// The scaling factor for the button's press animation, with a value between 0 and 1.
77
///

Sources/ComponentsKit/Components/RadioGroup/Models/RadioItemVM.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
22

3-
/// A model that defines the appearance properties for an item in a radio group.
3+
/// A model that defines the data and appearance properties for an item in a radio group.
44
public struct RadioItemVM<ID: Hashable> {
55
/// The unique identifier for the radio item.
66
public var id: ID

Sources/ComponentsKit/Components/RadioGroup/UIKit/UKRadioGroup.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ open class UKRadioGroup<ID: Hashable>: UIView, UKComponent, UIGestureRecognizerD
1515
}
1616
}
1717

18-
/// An identifier of the selected segment.
18+
/// An identifier of the selected item.
1919
public var selectedId: ID? {
2020
didSet {
2121
guard self.selectedId != oldValue else { return }

0 commit comments

Comments
 (0)