Chapter 7: Localization, page 137
It’s the old switcheroo…
When the segmented control was added to the WorldTrotter Map (page 108) it was done in the order Standard, Hybrid, Satellite.
But when it’s localized on page 137, both the struck-out code and the new code use the order Standard, Satellite, Hybrid.
Not surprisingly, this new order cascades upon itself. In addition to being carried over to the screenshot of the running app on page 139, the order of the strings in Localizable.strings (as shown on page 138) is based on the order in the source file.
(Correcting this by changing just the struck-out code is not sufficient, of course, since other code checks which absolute segment was touched.)