I’m developing an app which contains a view in which I have to draw several things.
My view looks like that:

That’s just a part of the entire view, but it’s the same thing all the view’s height.
This represents tracks for a train. So in my app, some trains will appear on the track.
My question is, which technology should I use:
- CoreGraphics to draw all on my view ?
- UITableView, then draw only a track by row and draw some components inside it (more easy to manage ?)
- Or other ?
Thanks a lot in advance !
You can do both: use a UITableView for the layout, then draw every UITableViewCell independently with CoreGraphics for example. That retains the flexibility of the table view, while unleashing the power of CoreGraphics for drawing.