THContactPicker icon indicating copy to clipboard operation
THContactPicker copied to clipboard

Custom Table View Cell

Open thephatp opened this issue 9 years ago • 4 comments

First off, bravo on a wonder, easy to use control! Love it!

This is a Feature Request, not a bug, so if you don't want to do it, I understand. However, I needed to customize the cells in the table view, because I only want to show contacts with email addresses, but some contacts might have multiple email addresses (reason I can't stick with just showing name).

Any chance you'd consider a way of allowing customized table view cells for the control? I've had to modify the THPickerViewController, which makes keeping it up to date a pain.

Thanks for the consideration, and thanks for a great control!

thephatp avatar Apr 09 '15 22:04 thephatp

I agree that this would be a great addition

schayes04 avatar Apr 09 '15 23:04 schayes04

Thanks :)

I agree this a good idea. I don't know when I'll get to adding this but I'll put it on my To Do list.

Pull requests are welcomed if one of you wants to add this functionality :+1:

tristanhimmelman avatar Apr 11 '15 18:04 tristanhimmelman

I might try and spend some time on this. Although I'm not entirely sure what it should look like UI-wise. Any thoughts?

schayes04 avatar Apr 19 '15 16:04 schayes04

I think the one currently being used is fine for default. The key is being able to override. As I mentioned in the previous post, I needed to be able to show the email, so I had to override to use my own table view cell and then update the code to add the email address to the cell.

thephatp avatar Apr 23 '15 01:04 thephatp