I have a rather simple question about TableView’s in iOS, is there a way to indent the contents of the cells in a tableview, say for example I have an array of strings, and I want to have them displayed on the ui as alternating series of text, it would look like a conversation log. eg.
I am Hercules
I am Delilah
If you are Delilah
Then I am your lover
This without resorting to custom cells, however, if the custom cells is the only, can you please show me how/where to start?
TIA
mirage
Within your
cellForRowAtIndexPathmethod, do something such as this:Updated with correct alignment, thanks paul polo