set Views

PHOTO EMBED

Fri Jan 27 2023 17:17:47 GMT+0000 (Coordinated Universal Time)

Saved by @hasnat #ios #swift #view #snippet

   func setView() {
     
        [emailView, passwordView].forEach { (view) in
            if let view = view {
                view.layer.borderWidth = 2
                view.layer.borderColor = hexStringToUIColor(hex: "E9E9E9").cgColor
                view.layer.cornerRadius = view.layer.frame.height/3
            }
        }
    }
content_copyCOPY