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)]

yet again, I cannot figure out how to delete this comment.

try this:

     @FetchRequest(entity: TracksAll.entity(), sortDescriptors: []) var data: FetchedResults<TracksAll>

      @State var sorting: [KeyPathComparator<TracksAll>] = [
         .init(\.pfil, order: SortOrder.forward)
       ]

@workingdogintokyo You cannot delete ! But, if you do it now, before the post is 1 hour old, you can edit the post or the comment (button with ! inside) and replace it by a text like "Message deleted". But do it rapidly…

Yeah I see. What an appalling UI. It would not break anyone's back to put a delete button.In Apple's case, a backspace button, to delete the comment or post. Specifically designed to piss people off.

Beta 3 Swiftui Table Core Data Error
 
 
Q