Chapter 30. Creating Frameworks
In time, you will develop a collection of classes that are designed to work together. To make reuse of the collection easier, you can compile them into a framework. A framework is simply a directory that can include header files, a library of compiled code, and resources. When you create an application that uses this directory, you will link against the framework.
When you link against a framework, its location is recorded in the executable. If the framework is not found in that location when the application runs, the following locations are checked:
~/Library/Frameworks/Library/Frameworks/Network/Library/Frameworks/System/Library/Frameworks
Apple installs all of the standard frameworks in /System/Library/Frameworks/ ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access