I am trying to run the code I wrote some months ago. Now I use Swift 4.2/Xcode 10.1. I get the error Ambiguous use of 'init(string:attributes:)' on
let mutableAttributedString = NSMutableAttributedString(string: "", attributes: [:])
I also use SwiftyAttributes 4.3.0. Here I found
public convenience init(string str: String, attributes: [Attribute])
, but I cannot understand why Swift wants to call this function.
How can I solve this issue? Is it necessary to update SwiftyAttributes?