Archive for October 6, 2012

Saturday, October 6, 2012

UTF-16 “.strings” Files

Dan Wood:

For years, we’ve followed Apple’s documented recommendation that .strings files should be saved in UTF-16 format […] But this has caused so many headaches, that I finally decided it’s time to defy this recommendation, and go UTF-8 for our .strings files.

Xcode now converts strings files to UTF-16 when building a project, so I now store them in UTF-8, which works better with version control and other tools.

CTBlockDescription

Oliver Letterer’s CTBlockDescription is a class for introspecting block Objective-C blocks (via Ole Begemann).