Created
July 30, 2022 01:30
-
-
Save codedeman/73727ebdb40cdc16c689cab65de517b1 to your computer and use it in GitHub Desktop.
DecorateView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func awakeFromNib() { | |
super.awakeFromNib() | |
self.vMain.backgroundColor = .white | |
self.vBoard.layer.cornerRadius = 10 | |
self.vBoard.clipsToBounds = true | |
self.vMain.layer.cornerRadius = 10 | |
self.vMain.clipsToBounds = true | |
self.vMain.layer.borderColor = UIColor(red: 242/255, green: 242/255, blue: 242/255, alpha: 1).cgColor | |
self.vMain.layer.borderWidth = 1 | |
self.lblTitle.textColor = .black | |
self.lblSubtitle.textColor = .black | |
self.ivFilm.layer.cornerRadius = 10 | |
self.ivFilm.clipsToBounds = true | |
self.btnBooking.layer.cornerRadius = 5 | |
self.btnBooking.clipsToBounds = true | |
// Initialization code | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment