Internationalization

We’ve talked a lot about the potential uses of strings, collections, and classes in the UIKit and Foundation frameworks, which in turn means we’ve spent a lot of mental time away from our code. Let’s pull together some of their combined strengths to improve our app.

The Swift language, along with the Foundation and UIKit frameworks, do their part to support internationalization, the ability of code to adapt to local conventions in different parts of the world. These concerns include things like language, time and date formatting, and currency symbols and separators. If we properly adopt internationalization—often abbreviated as i18n for the first and last letters of the word and the 18 in between—then our Twitter-sender ...

Get iOS 8 SDK Development, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.