Post

Replies

Boosts

Views

Activity

TipViewStyle not compiling
I'm creating a simple TipViewStyle based on sample code but it fails to compile. It displays: Type 'MyViewStyle' does not conform to protocol 'TipViewStyle' When I choose the Fix option, it adds this line: `type alias Body = type' What should the type be here? struct MyTipViewStyle: TipViewStyle { func makeBody(config: Configuration) -> some View { VStack { config.title config.message? } }
2
0
595
Nov ’24
CLCircularGeographicCondition not found
I'm attempting to use this sample code in Xcode 16 and iOS 18. I get a compile error indicating "cannot find 'CLCircularGeographicCondition' The remainder of the sample code does not compile as in the document the compiler wants "await" before the call to monitor.add and another "await" before monitor.events Is there updated sample code for this use case?
1
0
483
Oct ’24
Slow launch of app on iOS Simulator 26.4
Each time I launch a Debug version of the app on iOS Simulator, I see the Launch Screen presented and then about a 30-second delay before the app is responsive and debug output appears in the console panel. Filed FB22345091
Replies
9
Boosts
7
Views
680
Activity
2w
TipViewStyle not compiling
I'm creating a simple TipViewStyle based on sample code but it fails to compile. It displays: Type 'MyViewStyle' does not conform to protocol 'TipViewStyle' When I choose the Fix option, it adds this line: `type alias Body = type' What should the type be here? struct MyTipViewStyle: TipViewStyle { func makeBody(config: Configuration) -> some View { VStack { config.title config.message? } }
Replies
2
Boosts
0
Views
595
Activity
Nov ’24
CLCircularGeographicCondition not found
I'm attempting to use this sample code in Xcode 16 and iOS 18. I get a compile error indicating "cannot find 'CLCircularGeographicCondition' The remainder of the sample code does not compile as in the document the compiler wants "await" before the call to monitor.add and another "await" before monitor.events Is there updated sample code for this use case?
Replies
1
Boosts
0
Views
483
Activity
Oct ’24