In main.storyboard I have a UIView, and in the identity inspector I set the class of the view to my custom UIView class called "customView." All this does is set the background color to purple. However, the color does not change when I run the app, it stays the color it originally is. What am I doing wrong?
class CustomView: UIView {
override init(frame: CGRect) {
super.init(frame: frame)
self.backgroundColor = UIColor.purple
}
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
}
}