Home > Articles

  • Print
  • + Share This
This chapter is from the book

Workshop

Quiz

  1. The default storyboard file is named what?

    1. Main
    2. iPhone
    3. Universal
    4. Default
  2. Which inspector enables you to update the appearance of an interface object?

    1. Identity
    2. Appearance
    3. Visual
    4. Attributes
  3. To change the height or width of an object, you could use which inspector?

    1. Attributes
    2. Constraints
    3. Volumetric
    4. Size
  4. What system gives us a way to describe interfaces that resize and change depending on device screen size and orientation?

    1. Auto Adapt
    2. Attributes
    3. Auto Layout
    4. Content Autosizing
  5. To set a custom class on an object, we would turn to which inspector?

    1. Class
    2. Identity
    3. Object
    4. Location
  6. Invoking the Quick Inspector on which object is a good way to see most of your scene’s connections?

    1. View
    2. View Controller
    3. First Responder
    4. Class
  7. Through what is an interface object referenced in code?

    1. Plug
    2. Action
    3. Connection
    4. Outlet
  8. Interactive interface elements often connect to code via which of the following?

    1. Classes
    2. Actions
    3. Connections
    4. Outlets
  9. To test the accessibility of iOS interfaces, you can activate which of the following tools in the iOS Simulator?

    1. Accessibility Viewer
    2. Accessibility Chain
    3. Accessibility Inspector
    4. Accessibility Wizard
  10. What library enables you to find and add interface objects to a scene?

    1. Object
    2. Media
    3. Interface
    4. Tool

Answers

  1. A. The default storyboard name is simply Main.storyboard.
  2. D. Use the Attributes inspector to change visual properties for any object in your interface layout.
  3. D. You can use the Size Inspector to fine-tune the height and width of most interface elements.
  4. C. Auto Layout is the name of Apple’s system for describing size/orientation-independent interfaces.
  5. B. The Identity Inspector enables you to set an object to a custom class.
  6. B. Select the View Controller object and open the Quick Inspector to view most of the connections within a scene.
  7. D. Outlets connect interface objects to a variable property in code.
  8. B. Actions provide a connection point between an interface element and an underlying method in code.
  9. C. Use the Accessibility Inspector to view the accessibility properties set on interface elements within the iOS Simulator.
  10. A. You’ll use the Object Library to find, select, and place interface elements in Interface Builder.
  • + Share This
  • 🔖 Save To Your Account