Creating and Using a Framework
To start a new framework project, choose the New Project item (Cmd-Shift-N) from Project Builder’s File menu. This opens the New Project assistant. Choose Cocoa Framework under the “Frameworks” heading. Click the Next button to advance to the next page in the assistant. Enter the new framework’s name in the Project Name field and click the Finish button. After clicking the Finish button, a new framework project is created and opened.
Objective-C classes, C++ classes, and C source files can all be added to the new project in the same ways they would be added to an application project. Resources such as nib files, strings files, images, and sounds can all be added in the usual way as well. After the framework’s elements ...
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