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
769
Aug ’21
TextEditor cursor hidden behind keyboard
I have been trying to figure this out all day. Texteditor newline cursor always just hidden behind keyboard, when you start typing, it will show up in the right position.
Replies
0
Boosts
0
Views
371
Activity
Apr ’21
Swiftui new beta table is slow
I needed a way to have table on my macOS app. I find that the new beta table is extremely slow compared to list. What am I doing wrong? And what to do to make it more efficient.
Replies
0
Boosts
0
Views
426
Activity
Aug ’21
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)]
Replies
4
Boosts
0
Views
769
Activity
Aug ’21