UIAppearance
public extension UIAppearance where Self: UIView
-
Create an
ObservedView
from any UIAppearance where Self is of type UIViewDeclaration
Swift
func observed<Value>( initialValue: Value, onChangeHandler: @escaping (_ newValue: Value?, _ view: Self) -> Void ) -> ObservedView<Self, Value>