@@ -36,7 +36,7 @@ public func Join(strings: [AttributedStringConvertible]) -> AttributedStringConv
3636 - parameter attributes: The attributes to apply.
3737 - parameter strings: The convertible strings.
3838 */
39- public func Attributes( attributes: [ String : AnyObject ] , _ strings: AttributedStringConvertible ... )
39+ public func Attributes( attributes: [ String : AnyObject ? ] , _ strings: AttributedStringConvertible ... )
4040 -> AttributedStringConvertible
4141{
4242 return Attributes ( attributes, strings)
@@ -50,7 +50,7 @@ public func Attributes(attributes: [String:AnyObject], _ strings: AttributedStri
5050 - parameter attributes: The attributes to apply.
5151 - parameter strings: The convertible strings.
5252 */
53- public func Attributes( attributes: [ String : AnyObject ] , _ strings: [ AttributedStringConvertible ] )
53+ public func Attributes( attributes: [ String : AnyObject ? ] , _ strings: [ AttributedStringConvertible ] )
5454 -> AttributedStringConvertible
5555{
5656 return NestedAttributedString ( attributes: attributes, children: strings)
@@ -65,7 +65,7 @@ public func Attributes(attributes: [String:AnyObject], _ strings: [AttributedStr
6565 - parameter value: The attribute value to apply.
6666 - parameter strings: The convertible strings.
6767 */
68- public func Attribute( attribute: String , _ value: AnyObject , _ strings: AttributedStringConvertible ... )
68+ public func Attribute( attribute: String , _ value: AnyObject ? , _ strings: AttributedStringConvertible ... )
6969 -> AttributedStringConvertible
7070{
7171 return Attribute ( attribute, value, strings)
@@ -80,7 +80,7 @@ public func Attribute(attribute: String, _ value: AnyObject, _ strings: Attribut
8080 - parameter value: The attribute value to apply.
8181 - parameter strings: The convertible strings.
8282 */
83- public func Attribute( attribute: String , _ value: AnyObject , _ strings: [ AttributedStringConvertible ] )
83+ public func Attribute( attribute: String , _ value: AnyObject ? , _ strings: [ AttributedStringConvertible ] )
8484 -> AttributedStringConvertible
8585{
8686 return Attributes ( [ attribute: value] , strings)
0 commit comments