O'Reilly logo

Step into Xcode Mac OS X Development by Fritz Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 25. Closing Snippets

Miscellaneous Traps

  • Case-insensitive file names: HFS+, the recommended file system for Mac OS X, is case preserving—files will get names in the same case as you provide—but case insensitive: Xcode.txt, XCODE.TXT, and xcode.txt all refer to the same file. Most other UNIX variants are case sensitive, so if you import code, be on the lookout for the assumption that, say, the following two lines refer to different files:

        #include "polishStrings.h"
        #include "PolishStrings.h"

    By the same token, make sure that your code uses file names with consistent letter casing. Even if you don’t expect to port your work, HFS+ isn’t the only file system a Macintosh application sees, and a case-sensitive version of HFS+ does exist.

  • Library ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required