3. Coding for Locale

For centuries, magicians have intuitively taken advantage of the inner workings of our brains.

Neil deGrasse Tyson

This chapter covers classes in reference to locales. We look at “inner workings” and get a better understanding of Objective-C classes and their associated methods and properties that are available to do “international magic.” I phrase it as “magic” because these classes can make it so easy to have our information automatically adjust correctly to our users’ regional settings. So many things we do not need to keep track of because they’re are taken care for us. Presto! We’re going under the hood. This is going to be classes that are specifically related to internationalization, which includes NSLocale. This class ...

Get iOS Internationalization: The Complete Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.