SwiftUI small techniques

do after 1 seconds

@State var reloadCount = 0
...
body
---
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
  self.reloadCount += 1
}

Bool

var isBoolean = false
...
isBoolean.toggle()