This blog post is based on the Session 215 - Advances in Collection View Layout from WWDC 2019. I would highly recommend to go through this video to learn basics about new collection view APIs and basics of Compositional layout on iOS.In Session 215 of WWDC 2019, Apple introduced