@@ -76,7 +76,7 @@ public class ICTokenField: UIView, UITextFieldDelegate, ICBackspaceTextFieldDele
7676 if let text = newValue {
7777 attributedPlaceholder = NSAttributedString (
7878 string: text,
79- attributes: [ NSForegroundColorAttributeName: UIColor . whiteColor ( ) . colorWithAlphaComponent ( 0.5 ) ]
79+ attributes: [ NSForegroundColorAttributeName: UIColor ( red : 0.78 , green : 0.78 , blue : 0.80 , alpha : 0.9 ) ]
8080 )
8181 } else {
8282 attributedPlaceholder = nil
@@ -110,8 +110,6 @@ public class ICTokenField: UIView, UITextFieldDelegate, ICBackspaceTextFieldDele
110110 private lazy var inputTextField : ICBackspaceTextField = {
111111 let _textField = ICBackspaceTextField ( )
112112 _textField. backgroundColor = UIColor . clearColor ( )
113- _textField. textColor = UIColor . whiteColor ( )
114- _textField. tintColor = UIColor . whiteColor ( )
115113 _textField. clearButtonMode = . WhileEditing
116114 _textField. autocorrectionType = . No
117115 _textField. returnKeyType = . Search
@@ -316,10 +314,7 @@ public class ICTokenField: UIView, UITextFieldDelegate, ICBackspaceTextFieldDele
316314 frame = CGRect ( x: 0 , y: 7 , width: UIScreen . mainScreen ( ) . bounds. width, height: 30 )
317315 }
318316
319- layer. cornerRadius = 5
320- layer. shouldRasterize = true
321- layer. rasterizationScale = UIScreen . mainScreen ( ) . scale
322- backgroundColor = UIColor ( red: 0.8 , green: 0.32 , blue: 0.24 , alpha: 1 )
317+ backgroundColor = UIColor . whiteColor ( )
323318
324319 addSubview ( scrollView)
325320 scrollView. addSubview ( inputTextField)
0 commit comments