on master help sign in
Implement initalizer
77bcefaLouis D'hauwe
HueKit/View/ColorIndicatorView.swift+2−1
@@ -31,7 +31,8 @@ public class ColorIndicatorView: UIView {
31 }
31 }
32
32
33 required public init?(coder aDecoder: NSCoder) {
33 required public init?(coder aDecoder: NSCoder) {
34− fatalError("init(coder:) has not been implemented")
34+ super.init(coder: aDecoder)
35+
35 }
36 }
36
37
37 override public func draw(_ rect: CGRect) {
38 override public func draw(_ rect: CGRect) {