         setup()
     }
     
-    public convenience init(frame: CGRect, didTouch: @escaping (TouchResult) -> ()) {
+    public convenience init(frame: CGRect, didTouch: @escaping (TouchResult) -> Void) {
         self.init(frame: frame)
         
         self.didTouch = didTouch


    // MARK: - Properties
    
    public var didTouch: (TouchResult) -> () = { _ in }
    
    // Automatic detection of links, hashtags and usernames. When this is enabled links
    // are coloured using the textColor property above

        // Color attributes
        var color = self.textColor
        if self.isEnabled == false {
            color = .lightGray
        } else if self.isHighlighted {
            if self.highlightedTextColor != nil {
                color = self.highlightedTextColor!
