233 textField.attributedPlaceholder = NSAttributedString(string: placeholder, attributes: [NSAttributedStringKey.foregroundColor: color]) Type 'NSAttributedStringKey' (aka 'NSString') has no member 'foregroundColor'