Open hugocarlmartin opened 9 years ago
@hugocarlmartin This seems to work. then you can set it in the story board
@IBInspectable var placeholderTextColour:UIColor = UIColor.grayColor() {
didSet{
if placeholder != nil
{
self.attributedPlaceholder = NSAttributedString(string: placeholder!, attributes: [NSForegroundColorAttributeName:placeholderTextColour])
}
}
}
Hi, everything works like a charm. Except that I cant change my placeholder text as I usually do.
Any ideas?