CoreBluetooth in SwiftUI 5.3

Hello!

I am trying to update my app to the newest version of SwiftUI and I am very lost! In the past I added CoreBluetooth code to the class SceneDelegate, but now there isn't even any classes in the start of a program to use? There is only a struct then the struct for my view?

Where should I add the CoreBluetooth extensions? Thank you!

This is SwiftUI-specific question, which is off-topic for this forum. I'd suggest that you ask over Apple Developer Forums instead.

Lantua’s right, of course, but just FYI I found this blog post to be most enlightening.

Share and Enjoy

Quinn “The Eskimo!” @ DTS @ Apple

1 Like

Thanks! I posted this over where she recommended, but that is very helpful!