I have custom textField which has @IBInspectable property placeHolderColor: UIColor and it works fine. I set it by:
attributedPlaceholder = NSAttributedString(string: placeHolder, attributes:[NSAttributedStringKey.foregroundColor: placeHolderColor])
How can I set programmatically an opacity value for this property only, not for normal text in my textfield ? I didn't find any matching NSAttributedStringKey to do this