Skip to content

Instantly share code, notes, and snippets.

@stevencurtis
Created July 3, 2020 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevencurtis/629baba056d40edb476032aa81b42a48 to your computer and use it in GitHub Desktop.
Save stevencurtis/629baba056d40edb476032aa81b42a48 to your computer and use it in GitHub Desktop.
thelayout
private func createLayout() -> UICollectionViewLayout {
let config = UICollectionLayoutListConfiguration(appearance: .insetGrouped)
return UICollectionViewCompositionalLayout.list(using: config)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment