Contents

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.

See Also

Getting the fetched results