tmdvs/TDBadgedCell

Cell selection style

yojique opened this issue · 1 comments

Thanks for your nice class.
I've noticed a small problem while cell selectionStyle property set to UITableViewCellSelectionStyleNone the badge still uses highlighted color an becomes invisible with default colors.
I've added

if((parent.selectionStyle != UITableViewCellSelectionStyleNone) && (parent.highlighted || parent.selected)){

to drawRect but i guess you may add a better solution in futher releases :)

Good luck

Thanks for the heads up yojique! I didn't think about this and glad you brought it to my attention! Even better you gave me some code to work with. I'm implement the fix ASAP and credit you for finding a bug!

Glad you found the class useful!