Compositional Layout
Re-creating Apple Photos layout & animations with Compositional Layout
Let's see how we can create layout similar to the native Photos app in iOS. Complete with the transitions.
Swift & iOSSeries dedicated to the new awesome Compositional Layout for UICollectionViews. Learn by reading about different concepts (like layout groups, supplementary views) and also by how-to guides implementing specific layouts. Sample project is available on GitHub.
12 posts
Compositional Layout
Let's see how we can create layout similar to the native Photos app in iOS. Complete with the transitions.
Swift & iOSCompositional Layout
Let's look at basic example tutorial about creating Compositional Layout that adapts to available screen space.
Swift & iOSCompositional Layout
It is actually quite easy, but you need to know where to activate this behavior. Let's see how to enable pinned headers.
Swift & iOSCompositional Layout
With a few extensions, you can make working with CollectionViews and Compositional Layout a lot cleaner.
Swift & iOSCompositional Layout
Utilizing Compositional Layout to create onboarding flow. Full code example is available.
Swift & iOSCompositional Layout
Let's look at creating basic grid layouts using Compositional Layout.
Swift & iOSCompositional Layout
Check out my GitHub project for hand-on examples showcasing how to build various layouts using modern APIs.
Swift & iOSCompositional Layout
Let's build the profile page with avatar, followers count, highlights and photos.
Swift & iOSCompositional Layout
These can help you add a bit of visual flair or maybe imitate the inset table view style.
Swift & iOSCompositional Layout
In this post we will see how to add badges to CollectionView. You will learn how to add supplementary views, configure them and display them.
Swift & iOSCompositional Layout
With the NSCollectionLayoutGroup definition we can create quite different layouts while keeping the rest of the code the same.
Swift & iOSCompositional Layout
Understanding the basic building blocks of the great compositional layout for collection views.
Swift & iOS