Initializer for conditional binding must have Optional type, not 'String'
问题 Here is a fun issue I'm running into after updating to Swift 2.0 The error is on the if let url = URL.absoluteString line func myFormatCompanyMessageText(attributedString: NSMutableAttributedString) -> NSMutableAttributedString { // Define text font attributedString.addAttribute(NSFontAttributeName, value: UIFont(name: "Montserrat-Light", size: 17)!, range: NSMakeRange(0, attributedString.length)) return attributedString } func textView(textView: UITextView, shouldInteractWithURL URL: NSURL,