Contents

init(viewModel:oldViewModel:animated:)

Creates a new context.

Declaration

init(viewModel: ViewModel, oldViewModel: ViewModel, animated: Bool)

Parameters

  • viewModel :

    The current view model value.

  • oldViewModel :

    The previous view model value.

  • animated :

    A Boolean value that indicates whether updating the context should be animated.