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:
parent
3001f1df78
commit
3fc3b6cb0a
@ -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 }
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user