diff --git a/VDSSample/Protocols/PickerBase.swift b/VDSSample/Protocols/PickerBase.swift index 27989fa..ad564e2 100644 --- a/VDSSample/Protocols/PickerBase.swift +++ b/VDSSample/Protocols/PickerBase.swift @@ -40,6 +40,10 @@ public class PickerSelectorView: UIStackView, Picker $0.typograpicalStyle = .BodyLarge } + public var selectedItem: EnumType { + return items[selectedIndex] + } + private var button = Button().with { instance in instance.size = .small instance.use = .secondary