New in SwiftUI 3: Custom Swipe Action in SwiftUI 3 with Conditional Actions

DevTechie
DevTechie
Published in
5 min readSep 23, 2021

--

In previous article, we covered basics of swipe action modifier in detail. In this article we will look at another practical example of swipe action modifier but main focus will be to build conditional swipe modifier.

Video version of this article is available at: https://youtu.be/p4q0rtmUZP0

In this article, we will build Hogwarts’s mail inbox page. Final product will look like this:

--

--