Today is a sneak peak of my custom Collection View Layout implementation. I wanted it to be as perfect and painless as possible, so I ended up with this:
And a preview:
What is this magic, you say? Well, it’s thanks to these meta structures that describe our layout for us. Along with some slick swift functional tricks, this code can’t get any simpler!
I still need to implement sticky headers, and efficient scrolling, so I’ll write a complete post about this when I am done, hopefully!