{%Pragmatic Coding%} Tips and tricks for software developers.


Set Locale with Date Formatter

In one of my projects I was confused if it is possible or not to sep up Locale for displaying a date time.

So, by default, the NSDateFormatter uses the locale set on the device, and there is no code specific locale changes are required if you want your app to display in the current locale.

But, what if you need to display a date in a locale other than the current setting on the device. Read the full article...