Xcode Development Crib Sheet

February 1, 2011 · 0 comments

in Resources

This post is updated as new tips are added.  Check back occasionally.

Quickly change to a new directory

  1. Open Terminal and type ‘cd’ followed by a space
  2. From Finder, drag/drop the target folder into Terminal and press Enter.

Generating a Localized Strings File

  1. Change to the project directory (see hint above!)
  2. genstrings ./Classes/*.m
  3. Drag Localizable.strings to Groups & Files in Xcode.  Change text encoding to Unicode (UTF-16) before clicking Add.
Be Sociable, Share!

Previous post:

Next post: