Post

Replies

Boosts

Views

Activity

Beta 3 Swiftui Table Core Data Error
Please help. I am trying the table and core data. I keep getting this error Referencing initializer 'init(_:value:comparator:content:)' on 'TableColumn' requires the types 'KeyPathComparator' and 'SortDescriptor<FetchedResults.Element>' (aka 'SortDescriptor') be equivalent here is my code, what am I missing  @FetchRequest(entity: TracksAll.entity(), sortDescriptors: []) var data: FetchedResults     @State private var selection = Set<TracksAll.ID>()     @State private var sorting = [KeyPathComparator(\TracksAll.pfil)]
4
0
685
Aug ’21