HistoryView: Adds ability to delete history items

This commit is contained in:
2023-01-25 15:04:58 -08:00
parent 53efb5389e
commit 34ca35ea5a
5 changed files with 138 additions and 46 deletions

View File

@@ -7,6 +7,15 @@
import UIKit
infix operator .. : AssignmentPrecedence
@discardableResult @inline(__always) @inlinable
public func .. <T: Any>(it: T, apply: (inout T) throws -> Void) rethrows -> T {
var it = it
try apply(&it)
return it
}
protocol Conf { }
extension Conf {