Testing the Project
The interface and code are now linked, the project is complete, and it's ready for testing. Choose Product > Run from the menu bar, or press Command-R. The application builds and launches, and the main window appears, as shown in Figure 18.

Figure 18 The application's interface appears when the project runs.
Enter your name and click the Click Me button. This action causes the buttonClicked handler to run, displaying a dialog message that includes the value of the text field (see Figure 19).

Figure 19 A message displayed by the buttonClicked handler.