@@ -57,7 +57,7 @@ extension ICTokenField {
5757 layer. cornerRadius = 5
5858 layer. shouldRasterize = true
5959 layer. rasterizationScale = UIScreen . main. scale
60- backgroundColor = UIColor ( red: 0.8 , green: 0.32 , blue: 0.24 , alpha: 1 )
60+ backgroundColor = UIColor ( red: 0.8 , green: 0.32 , blue: 0.24 , alpha: 1 )
6161
6262 textField. textColor = UIColor . white
6363 textField. tintColor = UIColor . white
@@ -66,21 +66,21 @@ extension ICTokenField {
6666 attributedPlaceholder = NSAttributedString (
6767 string: String ( describing: type ( of: self ) ) ,
6868 attributes: [
69- NSForegroundColorAttributeName : UIColor . white. withAlphaComponent ( 0.5 ) ,
70- NSFontAttributeName : UIFont . boldSystemFont ( ofSize: 14 )
69+ . foregroundColor : UIColor . white. withAlphaComponent ( 0.5 ) ,
70+ . font : UIFont . boldSystemFont ( ofSize: 14 )
7171 ]
7272 )
7373
7474 normalTokenAttributes = [
75- NSForegroundColorAttributeName : UIColor . white,
76- NSBackgroundColorAttributeName : UIColor . white. withAlphaComponent ( 0.25 ) ,
77- NSFontAttributeName : UIFont . boldSystemFont ( ofSize: 14 )
75+ . foregroundColor : UIColor . white,
76+ . backgroundColor : UIColor . white. withAlphaComponent ( 0.25 ) ,
77+ . font : UIFont . boldSystemFont ( ofSize: 14 )
7878 ]
7979
8080 highlightedTokenAttributes = [
81- NSForegroundColorAttributeName : UIColor ( red: 0.8 , green: 0.32 , blue: 0.24 , alpha: 1 ) ,
82- NSBackgroundColorAttributeName : UIColor . white,
83- NSFontAttributeName : UIFont . boldSystemFont ( ofSize: 14 )
81+ . foregroundColor : UIColor ( red: 0.8 , green: 0.32 , blue: 0.24 , alpha: 1 ) ,
82+ . backgroundColor : UIColor . white,
83+ . font : UIFont . boldSystemFont ( ofSize: 14 )
8484 ]
8585 }
8686
0 commit comments