Objective-C for Absolute Beginners by Gary Bennett Brad Lees & Mitchell Fisher

Objective-C for Absolute Beginners by Gary Bennett Brad Lees & Mitchell Fisher

Author:Gary Bennett, Brad Lees & Mitchell Fisher
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


2.Clicking the X in Figure 7-13 will delete the connection between the storyboard and the variable. Even though you are just renaming the variable, the storyboard knows it as nameLabel and not the new name you are going to use.

3.Next, go into the ViewController.h file and change the variable nameLabel to firstLabel, as shown in Figure 7-14.

Figure 7-14.Viewing the connection of the nameLabel variable

4.Now it’s time to connect the variables that you’ve just defined in the ViewController.h file to the three labels in the storyboard. Start by going back to the Main.storyboard to select the first label, as shown in Figure 7-15. Also make sure that the Connections Inspector is selected.

Figure 7-15.Preparing the connection



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.