Showing the Window
At this point, it would be great to run the application and see your objects unarchived and put on screen. However, if you run RandomPassword, all you will see is a disappointingly empty window (Figure 1.17).
Give it a try. Use the keyboard shortcut Command-R to build and run the app.
Figure 1.17 Empty window with the wrong title
Not only is the window empty, it also has the wrong title. This is not your window. It is a window that the template created for the AppDelegate controller to control. To understand why this is the window you are seeing, let’s look at the app’s structure, diagrammed in Figure 1.18 ...
Get Cocoa Programming for OS X: The Big Nerd Ranch Guide 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.