From 8d623d65bba159d2781012200c5bcf46f2511f7d Mon Sep 17 00:00:00 2001 From: Filipp Kosenko <104763688+filippkos@users.noreply.github.com> Date: Tue, 3 Sep 2024 16:36:12 +0300 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 294b423..7437cfd 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,13 @@ You can do the same with the header (UIView): } } ``` + +To remove or change the selection in the dropdown from the outside in your code you can call: +```swift + self.dropdownView.updateCurrentOption(option: "Some placeholder") +``` +The header configurator is subscribed to the current option and will update the header immediately. + Снимок экрана 2024-09-02 в 20 08 01 ## Requirements