Krelborn / KILabel

A simple to use drop in replacement for UILabel for iOS 7 and above that highlights links such as URLs, twitter style usernames and hashtags and makes them touchable.
MIT License
470 stars 132 forks source link

'NSRangeException', reason: 'NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds' #19

Closed guodongyangwen closed 9 years ago

guodongyangwen commented 9 years ago

it will crash when i touch the "@username" sometimes,but I print the selectedRange and it's right

Krelborn commented 9 years ago

Could you give me a bit more information. Is this the 1.0 version or one of the dev branches? Is there a particular string giving you a crash? How is the label configured? what's the line of code in KILabel throwing the exception?

Thanks.

Krelborn commented 9 years ago

Closing this issue as I can't currently reproduce it without further information. Happy to look at it in the future if I can get a reproducible test case.