Bring compositional layouts to your app and simplify updates to and management of your user interface with diffable data sources.
- Note: This sample code project is associated with WWDC 2020 sessions 10097: Advances in UICollectionView, 10045: Advances in Diffable Data Sources, 10026: Lists in UICollectionView, and 10027: Modern Cell Configuration.
To run the sample code project in Xcode, first choose whether to view the examples in iOS or macOS.
To view examples in iOS:
- Choose the Modern Collection Views target.
- In the Scheme menu, choose an iOS simulator to run the app.
To view examples in macOS:
- Choose the Modern Collection Views Mac target.
- In the Scheme menu, choose My Mac.
- In build settings for the target, under Signing & Capabilities > Signing Certificate, choose Sign to Run Locally.
- Run the app, and navigate the examples from the Example menu.