Adding swipe to delete and EditButton - SwiftUI Starter Project 13/14

preview_player
Показать описание
In this video we let users remove items from their order using swipe to delete and by tapping an Edit button in the navigation bar.

This project is aimed at programmers who have some experience with Swift and UIKit already, and want to get up to speed with SwiftUI as quickly as possible.
Рекомендации по теме
Комментарии
Автор

Never made an app, but want to, so have subscribed. Thanks for creating this series.

decky
Автор

Hey Paul, I can't find any information on how to have a swipe-to-delete function with a sorted or reversed array. Any Tips?

leonkling
Автор

How do you programatically pop back to the menu list when someone taps the 'Add to Order' button, rather than staying on the itemDetail view?

ZoeSummersA
Автор

Hi Paul, I am having an issue I can’t solve: I disabled the edit button when the order is empty, but then when I delete all items in the order the edit button is disabled still in edit mode. Hence when adding new items to the order the list is already in edit mode, which is quite an unwanted user experience. Any suggestion? Thanks a lot

MrDan