@@ -23,11 +23,11 @@ public extension ColorType
2323
2424 The foreground color will not override a foreground color set deeper in the hierarchy.
2525
26- - parameter strings : The attributed strings to apply the foreground color to.
26+ - parameter string : The attributed string convertible to apply the foreground color to.
2727 */
28- public func foregroundAttribute( strings : [ AttributedStringConvertible ] ) -> AttributedStringConvertible
28+ public func foregroundAttribute( string : AttributedStringConvertible ) -> AttributedStringConvertible
2929 {
30- return Attributed . attribute ( NSForegroundColorAttributeName, self , strings )
30+ return Attributed . attribute ( NSForegroundColorAttributeName, self , string )
3131 }
3232
3333 // MARK: - Background Color
@@ -37,11 +37,11 @@ public extension ColorType
3737
3838 The background color will not override a background color set deeper in the hierarchy.
3939
40- - parameter strings : The attributed strings to apply the background color to.
40+ - parameter string : The attributed string convertible to apply the background color to.
4141 */
42- public func backgroundAttribute( strings : [ AttributedStringConvertible ] ) -> AttributedStringConvertible
42+ public func backgroundAttribute( string : AttributedStringConvertible ) -> AttributedStringConvertible
4343 {
44- return Attributed . attribute ( NSBackgroundColorAttributeName, self , strings )
44+ return Attributed . attribute ( NSBackgroundColorAttributeName, self , string )
4545 }
4646
4747 // MARK: - Underline Color
@@ -51,11 +51,11 @@ public extension ColorType
5151
5252 The underline color will not override an underline color set deeper in the hierarchy.
5353
54- - parameter strings : The attributed strings to apply the underline color to.
54+ - parameter string : The attributed string convertible to apply the underline color to.
5555 */
56- public func underlineAttribute( strings : [ AttributedStringConvertible ] ) -> AttributedStringConvertible
56+ public func underlineAttribute( string : AttributedStringConvertible ) -> AttributedStringConvertible
5757 {
58- return Attributed . attribute ( NSUnderlineColorAttributeName, self , strings )
58+ return Attributed . attribute ( NSUnderlineColorAttributeName, self , string )
5959 }
6060
6161 // MARK: - Strikethrough Color
@@ -65,10 +65,10 @@ public extension ColorType
6565
6666 The strikethrough color will not override an strikethrough color set deeper in the hierarchy.
6767
68- - parameter strings : The attributed strings to apply the strikethrough color to.
68+ - parameter string : The attributed string convertible to apply the strikethrough color to.
6969 */
70- public func strikethroughAttribute( strings : [ AttributedStringConvertible ] ) -> AttributedStringConvertible
70+ public func strikethroughAttribute( string : AttributedStringConvertible ) -> AttributedStringConvertible
7171 {
72- return Attributed . attribute ( NSStrikethroughColorAttributeName, self , strings )
72+ return Attributed . attribute ( NSStrikethroughColorAttributeName, self , string )
7373 }
7474}
0 commit comments