O'Reilly logo

Xcode® 4 Unleashed, Second Edition by Frederic F. Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 22. Frameworks

In This Chapter

• What a framework is

• Adding a framework target

• Using the “Copy Files” build phase

• Using archives and installation trees

• Understanding command-line gdb

In Chapter 19, “A Custom View for Mac OS X,” you constructed a bar-graph view that is isolated from the code inside Mac Passer Rating. Yes, its method selectors refer to games, and the drawing code pulls in properties with names such as attempts and completions, but the code doesn’t link to any code in the rest of the application.

Once again I’m going to pretend that PasserGraphController and PassCompletionView form a package that I’d want to reuse. We did the same thing with passer_rating in Chapter 6, “Adding a Library Target.”

But there’s a difference ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required