Member-only story

New SwiftUI 4: NavigationView with Custom List Swipe.

AnthonyDesignCode
3 min readSep 20, 2022

--

Photo by Christopher Gower on Unsplash

Hello everyone, welcome to a new SwiftUI tutorial. I hope you are all doing well. Today I am going to show you how to create a NavigationView with Custom List swipe in SwiftUI 4 and Xcode 14.

Let’s get started with opening up Xcode 14. We are going to create a new Swift file called fullSwipePop. This is where we are going to create the swipe between lists/view.

fullSwipePop.swift
fullSwipePop.swift

At the bottom of this helper view we are going to add the func for the getOffset.

Func getOffset in fullSwipePop.swift
fullSwipePop.swift

Awesome!!! We are going to create a new SwiftUI file called HomeView. This is where we are going to create the UI and we are going to use NavigationView.

--

--

AnthonyDesignCode
AnthonyDesignCode

Written by AnthonyDesignCode

Hey 👋 I’m Anthony! I hope you are well?! Thank you for looking at my blog. Here you will learn how to make apps in SwiftUI for iOS 16! Thanks for reading.

No responses yet