已读44%
预计阅读本页时间:-
预计阅读本页时间:-
CHAPTER 3 ANSWERS
- The pane on the left side of Xcode is the Navigator pane.
- The Cocoa framework used to create an iOS applications user interface is the UIKit framework.
- Application settings are stored in a plist file.
- The Xcode feature you use to make sure your user interface is displayed correctly on all devices is Auto Layout.
- The name of the inspector used to change user interface object attributes in Interface Builder is the Property Inspector.
- To change the color of text:
- In the Project Navigator select Main.storyboard.
- In Interface Builder, select the Band label.
- In the Attributes Inspector, use the Color selector, and choose Light Gray Color.
- To add the bottom label and set its auto layout constraint:
- In the Project Navigator, select Main.storyboard.
- Drag a new label onto the scene.
- In the attributes inspector, set its text to Bottom.
- Drag the label to the bottom of the scene until the bottom guideline appears.
- Drag the label to the middle of the scene until the center guideline appears.
- Select the label; then Control-drag to the bottom of the view.
- Release the mouse button; then select the Bottom Space to Bottom Layout constraint.
- To change the version number in the settings:
- In the Project Navigator, select the project.
- In the editor, select the General tab and bring up the info property editor.
- In the Identity section, set the Version to 1.1.