From 20fda3888fe88e533df5a4069397201992eb0580 Mon Sep 17 00:00:00 2001 From: Shin Yamamoto Date: Sat, 11 May 2019 16:28:34 +0900 Subject: [PATCH] GrabberHandleView supports UIAppearance --- Framework/Sources/GrabberHandleView.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Framework/Sources/GrabberHandleView.swift b/Framework/Sources/GrabberHandleView.swift index 865eebf..c82b14e 100644 --- a/Framework/Sources/GrabberHandleView.swift +++ b/Framework/Sources/GrabberHandleView.swift @@ -7,7 +7,9 @@ import UIKit public class GrabberHandleView: UIView { - public var barColor = UIColor(displayP3Red: 0.76, green: 0.77, blue: 0.76, alpha: 1.0) { didSet { backgroundColor = barColor } } + @objc dynamic public var barColor = UIColor(displayP3Red: 0.76, green: 0.77, blue: 0.76, alpha: 1.0) { + didSet { backgroundColor = barColor } + } required public init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder)