I am trying to change the borderColor of a textView in Swift. If I set it using a preset color it works fine:
inView.layer.borderColor = UIColor.green.cgColor
However, when I try to set it to a custom RGB value, the borderColor does not change:
inView.layer.borderColor = UIColor.init(red: 100, green: 230, blue: 100, alpha: 1).cgColor