iOS implement a long scroll view best practice

ios, memory, uiscrollview, uitableview

Solution

Use `UITableView`, and it would be better if you subclass `UITableViewCell` and use the `layoutSubviews` method to adjust the subviews when you adjust the size of the cell. Change the cell size according to the content present in it.

Check the below links for this:

- iOS SDK: Crafting Custom UITableView Cells

- Customize Table View Cells for UITableView

- Easy custom UITableView drawing

Problem

Hi i would to implement a very long scroll view for a forum-like view, designing something similar to this image would it possible to implement this with a table view (considering the not very defined borders between cells and some views overlapping other cells) or i should write a long scroll view with many subviews (memory management?)? Thanks

Original source