Information Technology Reference
In-Depth Information
To finish creating the action, select Connect. Figure 7.26 shows the result. An action signature is added to the
header file. If you look at the end of the implementation file, you see that a corresponding stub has been added.
If you build and run the app now, the action method is triggered if you click or tap the button. It doesn't do
anything because there's no code inside the stub, but a button handler is now part of the app.
FIGURE 7.26
To help you complete the action, Xcode adds suitable code to both the header and the implementation file.
Search WWH ::




Custom Search