Skip to content

Latest commit

 

History

History

ImplementingModernCollectionViews

Implementing Modern Collection Views

Bring compositional layouts to your app and simplify updates to and management of your user interface with diffable data sources.

Overview

Configure the Sample Code Project

To run the sample code project in Xcode, first choose whether to view the examples in iOS or macOS.

To view examples in iOS:

  1. Choose the Modern Collection Views target.
  2. In the Scheme menu, choose an iOS simulator to run the app.

To view examples in macOS:

  1. Choose the Modern Collection Views Mac target.
  2. In the Scheme menu, choose My Mac.
  3. In build settings for the target, under Signing & Capabilities > Signing Certificate, choose Sign to Run Locally.
  4. Run the app, and navigate the examples from the Example menu.