Questions

  1. UICollectionView is very similar to another component on iOS. Which component is this?

a) UIImageView 
b) UIScrollView
c) UITableView

  1. Which class did you have to subclass to create your own collection view layout?

a) UICollectionViewFlowLayout
b) UICollectionViewLayout
c) UICollectionLayout

  1. Which technique is applied by collection views to ensure great performance?

a) Fetching cells a couple of rows ahead of the user's current position
b) Fetching all cells at once
c) Fetching cells just in time

  1. Where in Interface Builder can you find the collection view's layout object?

a) The Attributes Inspector
b) The Document Outline
c) The Object Library

  1. Which feature that can be implemented for collection views is not available for table views?

a) Reordering cells
b) Deleting cells
c) Horizontal scrolling

  1. What is a gesture recognizer?

a) An object that responds to taps only
b) An object that predicts whether a user will scroll
c) An object that responds to several user interactions, such as tapping, swiping, pinching, and more

  1. What is the type of the button that you added to the navigation bar to toggle the collection view's editing state?

a) UIEditButton
b) UINavigationItem
c) UIBarButtonItem

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset