I am trying to attach few attributes to the NSAttributeString and keep getting the following error.
func strikeThroughStyle() {
let range = NSMakeRange(0, 1)
// add styles to self
self.attribute(self.string, atIndex: 0, effectiveRange: range)
}
I get the error:
Cannot convert value of type 'NSRange' (aka '_NSRange') to expected argument type 'NSRangePointer' (aka 'UnsafeMutablePointer<_NSRange>')