How can sliding UITableViewCells be implemented?

I have a UITableView that is populated with a list of friends, I understand how to select a cell and make it go to a completely new view manager, but how can I create the effect of only changing the cell that was selected, for example.

I want to select a cell (using a swipe gesture from left to right). Then slide the new cell with a few shortcuts / buttons that the user can interact with.

Your time and help is greatly appreciated. I dont even know where to start, I did a bit of searching for a few words and got a few suck links like this one that explains reloading, repainting and re-layout , but I still don't quite understand it.

EDIT

after doing a little further research on checking the right side of stackoverflow I found a very helpful post and source code here , I'm going to try this and see if this is what they need, or anyone can confirm it would be great. Sorry in advance for wasting stackoverflows space if this is what I was looking for.

+3


source to share


1 answer


You can use the post you found on S / O with source, but alternatively, you can look at various open source projects that provide the functionality you are looking for. Also, there is a great tutorial here on how this can be implemented: http://idevrecipes.com/2011/04/14/how-does-the-twitter-iphone-app-implement-side-swiping-on-a -table /

Open source:



You can find more here: https://github.com/search?q=sliding+uitableviewcell&type=Repositories&ref=advsearch&l=Objective-C

+5


source







All Articles