Post

Replies

Boosts

Views

Activity

The yolo11 object detection model I exported to coreml stopped working in macOS15.2 beta.
After updating to macOS15.2beta, the Yolo11 object detection model exported to coreml outputs incorrect and abnormal bounding boxes. It also doesn't work in iOS apps built on a 15.2 mac. The same model worked fine on macOS14.1. When training a Yolo11 custom model in Python, exporting it to coreml, and testing it in the preview tab of mlpackage on macOS15.2 and Xcode16.0, the above result is obtained.
1
1
210
1w
Discard UIViewControllerRepresentable from memory heap.
I am using NavigationView and NavigationLink in SwiftUI. And as destinations of NavigationView list, I am setting Views they have UIViewControllerRepresentables . When I back from UIViewController to top NavigationView lists, UIViewController still stay in memory heap. And be in trouble, properties in ViewCotroller also is not discard though I set them nil in viewWillDisapper. How can I discard UIViewControllerRepresentable from memory heap? Thank you for read this. struct ContentView: View { var body: some View { NavigationView { VStack { List { NavigationLink( destination: AViewThatHasUIViewControllerRepresentable(), label: { Text("AView") }) NavigationLink( destination: BViewThatHasUIViewControllerRepresentable(), label: { Text("BView") }) } } } } }
1
0
563
Jul ’21