You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// // CircleBorderedView.swift // GME Remit // // Created by Shiran on 9/29/20. // Copyright © 2020 Gobal Money Express Co. Ltd. All rights reserved. //
import UIKit
@IBDesignable class CircleBorderedView: UIView { @IBInspectable var cornerRadius: CGFloat = 0.0{ didSet { self.layoutSubviews() } } override func layoutSubviews() { super.layoutSubviews() self.layer.cornerRadius = cornerRadius self.clipsToBounds = true self.layer.borderColor = UIColor.themeText.cgColor self.layer.borderWidth = 1.0 self.backgroundColor = .white } }
|