Post

Replies

Boosts

Views

Activity

Cannot find type Content in scope
I am trying to follow along in the SwiftUI containers session and I am getting the error Cannot find type Content in scope when using a line like: @ViewBuilder var content: Content I am using Xcode 16 beta and the project is set for iOS 18 as a minimum. Is there more I need to do?
0
2
301
Jun ’24
Recommendations for an external USB-C monitor?
We are buying some extra monitors for developers and writers at work. It would be great to find a monitor that: you can get power and video with one cable is retina resolution is 24-30" I am looking at monitors like: Dell UltraSharp 27 USB-C Hub Monitor - U2721DE LG 27UD88-W The LG Ultra 5K would also fit the bill and the camera is nice but probably beyond our budget. Suggestions welcome!
0
0
531
Feb ’21
widgetURL causes my widget to be white instead of filled in with content.
var body: some View {     switch family {     case .systemSmall:       ZStack {         AvatarView(entry.character)           .foregroundColor(.white)       }       .background(Color.gameBackground)       .widgetURL(entry.character.url) With that last modifier, I get a white widget in the preview instead of the actual content. Is anyone else seeing this?
1
0
702
Jun ’20