Post

Replies

Boosts

Views

Activity

How do I add an "insert" feature like UITableViewCell.EditingStyle in SwiftUI?
In UIKit, it's quite common for table views to have one (or sometimes more) rows whose editing style is "insert", which show up a button with a plus symbol on a green background to the left of the cell content, and tapping this button adds whatever is in the cell content (usually a text field) to the list. What's the procedure for creating a list row like this in Swift UI when in edit mode?
2
0
112
1w