Post

Replies

Boosts

Views

Activity

Reply to WARNING: Application performed a reentrant operation in its NSTableView delegate. This warning will become an assert in the future.
I have the same problem with a mac swiftui app that uses a table view compiled with Xcode 14.1. The error happens when you have more data that can fit into the table view. The warning occurs when you use computed properties for sorting like this: private var tableData: [SomeStruct] { fetchRequestData .sorted(using: sortOrder) } or you filter data: private var tableData: [SomeStrict] { fetchRequestData .filter { $0.localizedCaseInsensitiveContains(searchText) } } When all data(rows) fits on the screen there is no warning!
Nov ’22