Post

Replies

Boosts

Views

Activity

Reply to .onDelete resets NSPredicate (Core Data, SwiftUI)
And I wonder if you also have another view which fetch the same entity( in your case is LifetimeInputs) with the same predicate, and then updated your data in one of the view, then the predicate became nil, but if the predicate(in your case is the date range) is different, everything works fine. If you find a way to fix this issue, please let me know, thank you :)
Nov ’21