Question

I would like to split my tableview's layer into two layers. Like this I will be able to transform one of them. How can I manage that ?

Thanks a lot !

Was it helpful?

Solution

What do you mean? How do you want to split the table view's layer? You can use my UITableView category in LTKit to grab the rects of interest from the table view (the section headers, the sections themselves, all the visible table view cell rects, etc.): https://github.com/LucasTizma/LTKit/blob/master/LTKit/Categories/UITableView%2BLTKAdditions.m

Using this, you can easily grab the table view's layer as an image representation and then split up that image into sublayers you can then transform or animate as I've done here: http://f.cl.ly/items/0s2S101b1E2e3N0D431m/Screen%20Recording%203.mov

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top