Escaping closure captures mutating 'self' parameter: struct – Ios swift
I have the following code I'm using with SwiftUI: import Foundation public struct Trigger { public var value = false public mutating func toggle() { value = true let responseDate = Date().advanced(by: 3) OperationQueue.main.schedule(after: .init(responseDate)) { moveBack() } } private…