In This Chapter
• Creating a custom
• Creating wrapping views
• Editing custom views in Interface Builder
Let’s extend Mac Passer Rating by one more step, and in the process see how to handle custom classes in Interface Builder (IB). In this chapter we’ll add another popover, to be shown when you double-click a row in the Passer table. The popover will show a simple scrolling bar graph comparing pass attempts and completions, by game.
You already know how to create and populate an
NSPopover. The popover needs an
NSViewController. It turns out that the view controller must do a little bit of work, so you need to use File→New→File... (N) to create an Objective-C subclass of