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