Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 497 Bytes

README.md

File metadata and controls

2 lines (2 loc) · 497 Bytes

SampleSortingApp

Imagine simple mobile app with list of messages. Every message has user and date when message was sent. Date is represented as unix timestamp. Your client come with urgent request to show messages on screen sorted by dates. Unfortunatelly messages comes from API endpoint unsorted and backend team is still drunk after teambuilding to make changes on API. You have to do it yourself. Well you have bad day... You can't use sort function or use any higher order swift function.