update()
Updates the fetched results.
Declaration
@MainActor @preconcurrency mutating func update()Discussion
SwiftUI calls this function before rendering a view’s body to ensure the view has the most recent fetched results.
Updates the fetched results.
@MainActor @preconcurrency mutating func update()SwiftUI calls this function before rendering a view’s body to ensure the view has the most recent fetched results.