if two words supplied, only the first is clickable
hi, I have just run demo, so I was playing with it, it seems it works with the only first occurence of the word
same issue, Library is awsome , but above bug limiting me, please solve it, thanks for this library......
Hey guys, thanks for the support, I'm working on this. Meanwhile, you may use setLinkForRange instead to set the link explicitly.
- (void)setLinkForRange:(NSRange)range withAttributes:(NSDictionary *)attributes andLinkHandler:(void (^)(FRHyperLabel *label, NSRange selectedRange))handler;
- (void)setLinkForRange:(NSRange)range withLinkHandler:(void(^)(FRHyperLabel *label, NSRange selectedRange))handler;
Thank you, library is amazing. I used the method u mentioned, it's great! Now, I am having another issue. I colour some parts of the text using NSForegroundColor attribute and apply links using this library. Seems like NSLinkAttribute is overriding text colouring. Any suggestions?