John
John

Reputation: 386

Swift Date part in tableview cell

I am using custom tablevıew cell and I want to add date or time part between two cell if it is necessary.

How can I add date or time between two cells like my screenshoot?

enter image description here

Upvotes: 1

Views: 65

Answers (1)

Rajeev Bhatia
Rajeev Bhatia

Reputation: 2994

You will have to separate your datasource into multiple sections and add headers or footers for the same. Check this link out

Custom headers and footers for UITableView

Upvotes: 1

Related Questions