Moving UITableView row to top of list when selected
Posted
by Max Kilgore
on Stack Overflow
See other posts from Stack Overflow
or by Max Kilgore
Published on 2009-08-04T13:41:34Z
Indexed on
2010/04/23
10:53 UTC
Read the original article
Hit count: 167
uitableview
|iphone
I am sure this is an easy thing to do. I am very new to objective C (picked up a job the boss was going to outsource) and could use all the help I can get. Just point me in the right direction here. Basically what I want to set up is this:
I have a list of phone numbers that expands to as many rows as needed. I have no problem populating and the list works fine, but I would like for all of the recently selected items in the list to be more easily accessible at the top. So, whenever the user "didSelectRowAtIndexPath", I would like the row to move to the top.
I just KNOW this is super simple... but I haven't found the solution yet. No hurry. I am just trying to figure things out on my own. Thanks in advance!
© Stack Overflow or respective owner