Tuesday, July 22, 2014

Localizing Nibs Without Creating More Nibs

I have nibs, not Storyboards, and they don't localize well. There is no way that I'm going to maintain multiple NIBs just because I have multiple languages.

Here's a solution I cooked up. Don't localize the nibs at all. Instead, just add a localizationKey property to each element in the NIB that you need to localize, like this:


Then you need the backing categories.

No comments: