Categories
iOS Development

How to use the RelativeDateTimeFormatter in Swift

Working with dates in Swift is a thing I remembered to struggle for a long time as a Junior developer. However, you should get used to objects that have date properties. E.g. you can sort stuff (e.g. see https://mic.st/blog/how-to-sort-an-array-of-objects-by-date-property/) … Read the rest