![](/img/trans.png)
[英]NSPersistentDocument FetchRequest warp property crash on macOS Document App SwiftUI project
使用Xcode macOS Document App模板創建項目,並選中Use Core Data復選框。 將 Book 實體添加到Document.xcdatamodeld 將 FetchRequest 扭曲屬性添加到ContentView ,@FetchRequest(entity: Book. ...