Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //MARK:- Properties
- var handleView = UIView()
- //MARK:- Setup Methods
- fileprivate func setupHandelView() {
- handleView.layer.cornerRadius = 2.5
- handleView.backgroundColor = UIColor(r: 208, g: 207, b: 205)
- view.addSubview(handleView)
- handleView.translatesAutoresizingMaskIntoConstraints = false
- handleView.widthAnchor.constraint(equalToConstant: 37.5).isActive = true
- handleView.heightAnchor.constraint(equalToConstant: 5).isActive = true
- handleView.centerXAnchor.constraint(equalTo: view.centerXAnchor).isActive = true
- handleView.topAnchor.constraint(equalTo: view.topAnchor, constant: 10).isActive = true
- handleView.alpha = 0
- }
Add Comment
Please, Sign In to add comment