Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partially working on Custom UITableViewCell #63

Closed
fatihyildizhan opened this issue Apr 12, 2016 · 14 comments
Closed

Partially working on Custom UITableViewCell #63

fatihyildizhan opened this issue Apr 12, 2016 · 14 comments

Comments

@fatihyildizhan
Copy link

Handle functions are not working until scrolling the tableview. While scrolling handle functions are working for a moment. It's hard to describe but, cell is on Storyboard. It has single UILabel and constraints, using system-regular font and it's multiline.

Do you know anything about this issue?

By the way, it is working on clean UITableView. Unfortunately it is not possible to start making the tableview from the beginning.

Than you in advance.

@polqf
Copy link
Contributor

polqf commented Apr 12, 2016

Handle functions are not working until scrolling the tableview

Could you be more specific? I am using ActiveLabel in a lot of table views inside my app without any kind of problems

@telip007
Copy link

Links inside of custom UITableViewCell aren't clickable or react after I press 10 times or more...

@telip007
Copy link

@fatihyildizhan could you solve it ?

@fatihyildizhan
Copy link
Author

Not yet.

@telip007
Copy link

Hm..

@Econa77
Copy link
Contributor

Econa77 commented Apr 25, 2016

@fatihyildizhan Do you use the UITapGesture in View of UITableView or parent?

@sluitel
Copy link

sluitel commented May 4, 2016

Having the same issue. mentions, hashtags inside custom uitableviewcell are not clickable. I do not use UITapGesture in View of UITableView or parent. Custom tableViewCell is implanted via auto layout. I can click on the mentions once is about 10 tries. Below is my code

cell.commentLabel.handleMentionTap({ (userId) in
     print("mention clicked" )           
 })

here, commentLabel is the activeLabel

@fatihyildizhan
Copy link
Author

@Econa77 No, I am not using UITapGesture

@polqf
Copy link
Contributor

polqf commented May 5, 2016

Hi @sluitel , @fatihyildizhan , could you create a project to replicate it? I cannot make it happen 😕

@s4cha
Copy link

s4cha commented Aug 1, 2016

Same issue here ;)

@polqf
Copy link
Contributor

polqf commented Aug 1, 2016

Guys, if you don't give me more context or create a dummy project to replicate it I cannot help!

cc/ @s4cha @sluitel @fatihyildizhan

@sluitel
Copy link

sluitel commented Aug 1, 2016

Actually, I found out that I had a tap gesture recognizer on the table view. It started working once I removed that. Thank you.

@polqf polqf closed this as completed Oct 14, 2016
@em254
Copy link

em254 commented Jul 5, 2018

it crashed on me:
Code is like below in my UITableView cellForRowAt function.

cell.CommentLbl.numberOfLines = 0 cell.CommentLbl.text = CommentsCard.CommentText cell.CommentLbl.enabledTypes = [.url, .hashtag] cell.CommentLbl.textColor = .blue cell.CommentLbl.handleURLTap({ (url) in print("mention clicked \(url)" ) })
CommentLbl is ActiveLabel and CommentsCard is Realm object.. Any help>

@pushkardeshmukh1992
Copy link

@sluitel thanks, it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants