Ramblings about technology, mobile development, and the like
Last time we took a look at the very useful RelativeDateTimeFormatter to create localized strings describing date differences programmatically. In this post we’ll look at a better way to handle presenting lists to your users. As programmers, it’s pretty common to have to take a list of objects (e.g. apples, bananas, oranges) and express theContinue reading “Nicely Formatted Lists with ListFormatter”
Prior to iOS 13, converting a date from the Date object to a nicely formatted string such as “10 days ago” or “next month” required a lot of custom coding or maybe third-party libraries to manage the conversion. The existing DateFormatter is very versatile as well as necessary for easy date localizations but just can’tContinue reading “Formatting Relative Dates the Easy Way”
Follow My Blog
Get new content delivered directly to your inbox.