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 ...
Get Cocoa® Programming 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.