Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 24. Bundles > Consequences

Consequences

Cocoa’s implementation of the Bundles pattern keeps executable code and related resources together and enables you to avoid hard-coded paths to resources within your applications. By using a standard bundle directory hierarchy and providing related development tools like Xcode, Mac OS X simplifies bundle creation. However, use of a directory hierarchy to store resources and code has advantages and disadvantages. One advantage is that users can view each bundle’s contents and edit resources with standard applications for each resource type. The corresponding disadvantage is that users can inspect, modify, or delete your applications’ resources at any time.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint