struct MyView: View { var animateStart = false { _animateStart = true DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.35) { _animateSt