O'Reilly logo

Pro iOS Table Views and Collection Views: Using Swift 2 by Tim Duckett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    5

Feeding Data to Your Views

When working with table and collection views, it’s important to bear in mind that on their own, they are able to do very little. Just as it takes a small army of ground staff (not to mention the flight crew!) to get an airliner off the tarmac and into the skies, so tableViews and collectionViews need the help and support of other objects in order to function properly.

One of the main parts of building tableViews and collectionViews is getting the objects to play nicely together, so this chapter covers the following:

  • Where the views gets their data, and how you get it there
  • How the views keep track of cells and sections
  • An initial look at how the views handle interaction
  • An overview of the architecture patterns ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required