Posts

Post not yet marked as solved
10 Replies
Sorry, I missed your question on this Matt. No, it's not at all related to the DTK. I don't know where that would've come from, I'm not running the DTK hardware.
Post not yet marked as solved
10 Replies
Thanks, filed. FB8135652
Post not yet marked as solved
10 Replies
I'm running the Playground on the Mac. It's an UIKit playground. The same thing happens if I run the the request as part of a SwiftUI Live Preview in Xcode for an iOS app. If I run the same code in a macOS/AppKit Playground, it apparently picks cert from the Keychain and executes successfully. I'm not doing anything fancy with the URL request for this example.         let url = URL(string: "https://twitter.com/slashkevin/status/1285945904835559426")!         let task = URLSession.shared.dataTask(with: url) { data, response, error in             if let error = error {                 print(error)             }             if let response = response {                 print(response)             }         }         task.resume()
Post not yet marked as solved
10 Replies
I'm talking about things like loading an image or a JSON file from a remote resource. So, quickly prototyping an idea or running a Live Preview for a SwiftUI view. The sort of logic we'd eventually move to the app for integration but want to quickly validate without the overhead of being in a full app.