UITableView - Color a selectede cell in table (remain colored)
Posted
by Liron Loop
on Stack Overflow
See other posts from Stack Overflow
or by Liron Loop
Published on 2010-05-26T13:24:24Z
Indexed on
2010/05/26
18:11 UTC
Read the original article
Hit count: 238
Hi
In my app i'm using a UITableViewController ("grouped style") which in one of its section I want the user to be able to see what he had selected by making this cell colored and other "uncolored".
Doing it by updating all cells' background color and reloading table data, each time user touches a cell (in didSelectRowAtIndexPath:)
Problem is that there is some processing made in the didSelectRowAtIndexPath: so the color doesn't get changed right a way, rather in a bit delay after touch was made. (I gusse the processing is the resone for the tiny delay)
Is there a better way of doing it?
Any help will be appreciated Liron
P.S. I'm new to all of this...
© Stack Overflow or respective owner