Post

Replies

Boosts

Views

Activity

Comment on SwiftUI Sheet race condition
Alright, but what I wanted to highlight is that the value of myVar in the sheet’s View closure does not match the actual value in the outer ContentView, and it is never updated to reflect it’s new value (unless it is changed again). Is this expected as well? The .onAppear was just a way for me to check what value myVar actually had.
Feb ’24
Comment on Clarification on Swift Student Challenge 2024
@aboutzeph "This includes the use of iOS 17/iPadOS 17 only. " This leads me to believe that making an iOS 17-only Playground should be fine. Also, I mentioned editing the Package.swift file in previous threads since you can't currently modify the minimum target version in Xcode. You are right, I also recently noticed that this is possible in the Swift Playgrounds app.
Feb ’24