0

In my app I am trying to make different venues, go into distance order within a table view, so that the customer can see what place is nearest to him, with this constantly changing...

any help?

Tom Young
  • 5
  • 3
  • possible duplicate of [Reordering UITableView rows programmatically with animation](http://stackoverflow.com/questions/4936917/reordering-uitableview-rows-programmatically-with-animation) – CodaFi May 12 '12 at 22:40

1 Answers1

0

Hold the venues as NSDictionaries (venue, distance) in an array and sort the array by distance in ascending order ..... Make the array the datasource of the Table View.

ennuikiller
  • 46,381
  • 14
  • 112
  • 137