Post

Replies

Boosts

Views

Activity

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
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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’24
Comment on What's the difference
Well I don't think there were any gaps, but no worries :)
Replies
Boosts
Views
Activity
Feb ’24
Comment on Using iPadOS 17 / macOS 14 features in challenge submission
Right, makes sense. Thanks!
Replies
Boosts
Views
Activity
Feb ’24
Comment on iPad and Apple Pencil Playground Submission
I'd also like to add that you should test your app playground in Swift Playgrounds as well even if you make it in Xcode, as sometimes some things might not work. Usually that's not the case but it's best to be sure :)
Replies
Boosts
Views
Activity
Feb ’24
Comment on Swift Charts Won't Update a Variable Value
Afaik the app needs to support iOS 16 so the new Observable macro isn't an option unless it's being used as an iOS 17-only feature with an if #available version check or the @available(iOS 17.0, *) attribute.
Replies
Boosts
Views
Activity
Feb ’24
Comment on Swift Charts Won't Update a Variable Value
The reason why you can't use the new Observable macro is since the Playground must support iOS 16 as well, and Observable requires iOS 17.
Replies
Boosts
Views
Activity
Feb ’24
Comment on Using iPadOS 17 / macOS 14 features in challenge submission
All right, thanks for the clarification!
Replies
Boosts
Views
Activity
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.
Replies
Boosts
Views
Activity
Feb ’24
Comment on Using iPadOS 17 / macOS 14 features in challenge submission
Thanks for the update!
Replies
Boosts
Views
Activity
Feb ’24
Comment on Xcode Playground - iOS-only target, and iOS 17-only features?
Ignore what I previously said, check the other comments :)
Replies
Boosts
Views
Activity
Feb ’24
Comment on SwiftUI Sheet race condition
No problem! (:
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’24
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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’24
Comment on install macOS 15 as virtual machine with Virtualisation framework
Oh, right! That makes sense. I was installing Xcode at the same time but tried to run the VM first 😅 Thanks!
Replies
Boosts
Views
Activity
Jun ’24
Comment on Xcode 16 beta does not let me log into my account
I saw this in the documentation, but I forgot that you need a macOS 15 host for that. Makes sense :)
Replies
Boosts
Views
Activity
Jun ’24
Comment on New security feature prevents remote access apps from working
I meant "to prevent these kind of messages appearing again after restart" :)
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24
Comment on SIGABRT Signal 6 Abort trap
I didn't notice the mutating func value<T>(execute task: (inout Value) throws -> T) rethrows -> T function, please read my other reply below.
Replies
Boosts
Views
Activity
Jun ’24