Removes convenience init since updateView is called by the framework and so does not need to be part of initialization

This commit is contained in:
Robinson, Blake 2019-12-12 10:39:21 -05:00
parent 3001f1df78
commit 3fc3b6cb0a

View File

@ -27,12 +27,6 @@ import UIKit
self.setupView()
}
public convenience init(width: CGFloat) {
self.init()
self.setupView()
self.updateView(width)
}
open override func draw(_ rect: CGRect) {
guard let textRect = self.titleLabel?.frame else { return }