Internationalizing the users interface in Xcode is really easy. Xcode separates all the texts from your views in a dictionary. However, we can make it better, using extensions and @IBDesignables. How handy would it be, if setting localized strings were as easy as the following?
Easier than that, are the extensions to unleash this fancy feature.
UISegmentedControl may have multiple segments. In this case, set the localized to true and put the localized key into the storyboard. The extension will lookup into it and return the right value for every segment.
Way better, don’t you think? Now you have a shortcut for setting localized strings.