objective c - UITableView reordered cells not retaining its state after scrolling -
i'm working on uitableview dynamic number of rows & sections. have stored data's (rows , section values) in nsmutabledictionary this. { fruits = [apple, orange, pineapple], cars = [ferrari, porsche, audi] }
here fruits & cars section titles while values corresponding rows. fine. i'm following raywanderlich's tutorial here reorder uitableview cells within section long pressing row. works perfect. problem is, after reordering cells, when scroll bottom or top of table, reordered cells goes initial position. but, want them stay in reordered position after scrolling or reloading.
ideas appreciated.
Comments
Post a Comment