我试图将一些属性附加到NSAttributeString并继续得到以下错误. 
func strikeThroughStyle() {
let range = NSMakeRange(0, 1)
// add styles to self
self.attribute(self.string, atIndex: 0, effectiveRange: range)
}
Run Code Online (Sandbox Code Playgroud)
我收到错误:
无法将'NSRange'(又名'_NSRange')类型的值转换为预期的参数类型'NSRangePointer'(又名'UnsafeMutablePointer <_NSRange>')