An open API service indexing awesome lists of open source software.

https://github.com/shts/implementingmoderncollectionviews

https://developer.apple.com/documentation/uikit/views_and_controls/collection_views/implementing_modern_collection_views
https://github.com/shts/implementingmoderncollectionviews

Last synced: about 1 year ago
JSON representation

https://developer.apple.com/documentation/uikit/views_and_controls/collection_views/implementing_modern_collection_views

Awesome Lists containing this project

README

          

# 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

- Note: This sample code project is associated with WWDC 2020 sessions [10097: Advances in UICollectionView](https://developer.apple.com/wwdc20/10097/), [10045: Advances in Diffable Data Sources](https://developer.apple.com/wwdc20/10045/), [10026: Lists in UICollectionView](https://developer.apple.com/wwdc20/10026/), and [10027: Modern Cell Configuration](https://developer.apple.com/wwdc20/10027/).

## 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.