From 1b6e719a4508d271cfb09a7f2d519f3cd8b2a754 Mon Sep 17 00:00:00 2001 From: SukyDev <81222648+SukyDev@users.noreply.github.com> Date: Thu, 10 Jun 2021 08:57:02 +0200 Subject: [PATCH] Update Bindable.swift Func valueChanged should be declared as public, as it is not accessible from other controllers, but it is important for making extensions and custom classes. --- Sources/Bindable.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Bindable.swift b/Sources/Bindable.swift index 40faeb8..31e8a2c 100644 --- a/Sources/Bindable.swift +++ b/Sources/Bindable.swift @@ -47,7 +47,7 @@ extension Bindable where Self: NSObject { binder = observable } - func valueChanged() { + public func valueChanged() { if binder.value != self.observingValue() { setBinderValue(with: self.observingValue()) }