Hi there i am creating a message app similar to viber and whatsup
i wanted to know if i can create timestamps for tableview or tableviewcell something like this
today, yesterday then example 2 May 2014, 1 May 2014 , 25 Apr 2014.
i created and im done with each cell timestamps that show the hour but i dont know how can i possibly create a group timestamp header which apears every 24 hours
so basicly it updates as header or something every 24 hours
any ideas ?
Thanks in advance
Here's a well documented class to get relative date string from a date,
It's easy to implement and add into project, also supports multiple languages.
Read everything there, it's what you want.