In the slides at 11:50 the following code snippet is shown:
.backgroundTask(.urlSession("isStormy")) {
// ...
}
Please could you explain what should be done in this block? The video just cuts off right after and seems like the explanation is missing. Thanks.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Please delete this one!
Every day I visit the forums I have to sign in again despite having ticked the "remember me" check box on the login form.
Having to sign in again to make the simplest action of upvoting an answer makes me not want to bother.
Safari Version 13.1.1 (15609.2.9.1.2)
macOS Catalina 10.15.5 (19F101)
Is it normal behaviour that when I apply a .toolbar to a Group that I see duplicate buttons equal to the number of Views in the Group? e.g.
Group {
Text("1")
Text("2")
Text("3")
}
.toolbar {
Button("Hi") {
}
}
Results in 3 toolbar buttons appearing in the UI, like in this screenshot:
If not, then I'll submit feedback about this bug but thought I'd ask first.
Xcode Version 16.0 beta 6 (16A5230g)
iPhone 15 Pro Simulator
Topic:
UI Frameworks
SubTopic:
SwiftUI
Please explain how and when the state should be transferred from split VC to tab controller when traits change from regular to compact. Please also consider then the middle “supplementary” column is in use.
Please confirm we should no longer use adaptivity API given any showing alert or popover would likely be lost or should those also be in the state?
Sample code of the relevant parts of the Shortcuts app would be very useful as this is a very difficult design pattern and it seems it is essential for cross platform apps targeting iPhone/iPad/Catalyst.