     }
     
     // TEST testAttributesFromProperties()
-    public func attributesFromProperties() -> [NSObject : AnyObject] {
+    public func attributesFromProperties() -> [String : AnyObject] {
         
         // Shadow attributes
         let shadow = NSShadow()

                attributes = attributesWithTextColor(color)
            }
            
            if attributes != nil {
                let location = distance(text.startIndex, linkRangeResult.linkRange.startIndex)
                let length = distance(linkRangeResult.linkRange.startIndex, linkRangeResult.linkRange.endIndex)
                let range = NSMakeRange(location, length)
                
                mutableAttributedString.setAttributes(attributes!, range: range)
            }
        }
        

            }
            
        } else {
            if let selectedLinkRangeResult = selectedLinkRangeResult, attributedText = attributedText {
                self.attributedText = addLinkAttributesToAttributedString(attributedText, withLinkRangeResults: [selectedLinkRangeResult], highlighted: false)
            }
            
            selectedLinkRangeResult = nil
