Saturday, 17 August 2013

Trying to Create a mostly custom TableView

Trying to Create a mostly custom TableView

I'm trying to make a custom table view. I have a UIScrollView loaded up
with UIViews. I would like to recreate the reusable cell functionality
that a tableview has. And I'm wondering what might be a good way to do
this.
I was thinking that when the UIViews are scrolled off screen I'll remove
them from the Subview, and when I need another I'll just add it. However
I'm not sure what method might be the best to do this in.
I could check to see the views location in scrollViewDidScroll: but I'm
not sure if this would be the best thing to check over and over again. If
anyone has any suggestions or helpful tips that would be really awesome.
Thanks!

No comments:

Post a Comment