FRHyperLabel icon indicating copy to clipboard operation
FRHyperLabel copied to clipboard

if two words supplied, only the first is clickable

Open lionlinekz opened this issue 9 years ago • 3 comments

hi, I have just run demo, so I was playing with it, it seems it works with the only first occurence of the word

lionlinekz avatar Sep 17 '16 18:09 lionlinekz

same issue, Library is awsome , but above bug limiting me, please solve it, thanks for this library......

amitpawar399 avatar Mar 28 '17 07:03 amitpawar399

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;

null09264 avatar May 26 '17 10:05 null09264

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?

lionlinekz avatar May 29 '17 12:05 lionlinekz