Expand and Collapse List with Animation in SwiftUI 📱

Vadim Bulavin
1 min readFeb 10, 2020

This is a cross-post from my blog on Advanced Swift Development. 👉Click here to directly open this article.

  • đź’ˇ How to display a list of data?
  • 🤏 How to handle list row taps?
  • 🚀 How to expand and collapse list rows with animation by using ForEach and List?

The reason why I am not posting the full article here is that I don’t want Medium to sell my articles. I am giving all my content for free and that’s how it’s going to stay. As a reader you’ll also get better experience with code highlight and formulae.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Vadim Bulavin
Vadim Bulavin

Written by Vadim Bulavin

Senior iOS Software Engineer at Pluto TV. Creator of Yet Another Swift Blog https://www.vadimbulavin.com/. Coding for fun since 2008, for food since 2012.

Responses (3)

Write a response