From 3fc3b6cb0a431863a39217542beb064cb8a6e9b9 Mon Sep 17 00:00:00 2001 From: "Robinson, Blake" Date: Thu, 12 Dec 2019 10:39:21 -0500 Subject: [PATCH] Removes convenience init since updateView is called by the framework and so does not need to be part of initialization --- MVMCoreUI/Atoms/Buttons/Link.swift | 6 ------ 1 file changed, 6 deletions(-) diff --git a/MVMCoreUI/Atoms/Buttons/Link.swift b/MVMCoreUI/Atoms/Buttons/Link.swift index 1aa7b40d..49292fe5 100644 --- a/MVMCoreUI/Atoms/Buttons/Link.swift +++ b/MVMCoreUI/Atoms/Buttons/Link.swift @@ -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 }