Skip to main content

One post tagged with "Flexible Cells"

Flexible cell layouts in iOS

View All Tags

Swift tutorial: Collection view layout with flexible cell sizes

· 6 min read
Full Stack Developer
Last updated on January 29, 2018

flexible cell sizes There are many use cases where you want your app to display collections of UI elements with flexible cell sizes, that render compactly on the screen, taking up as much space as possible. Unfortunately, achieving this in Swift is not straightforward and having collection views dealing with cells of different heights and widths can be tricky. In this tutorial, you'll be able to learn how you can create the layout pictured below (which is a shot of our WordPress iPhone App Template):