Chapter 21. Bundles and Packages

In This Chapter

• Understanding packages as pseudo-files

• Creating bundles as structured directories

• Relating bundles to the Xcode build system

• Understanding the Info.plist file for Mac and iOS

Many of Xcode’s products take the form of packages, directory trees that the Finder presents as single files. Let’s pause now to consider the problem of resources. Resources are the sorts of data that are integral to an application, but for one reason or another aren’t suitable to incorporate into source code: strings, lookup tables, images, human-interface layouts, sounds, and the like.

In the original Mac OS, applications kept resources in resource forks, mini-databases kept in parallel with the data stream you ...

Get Xcode® 4 Unleashed, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.