Share via


UITableViewDiffableDataSource<SectionIdentifierType,ItemIdentifierType>.ApplySnapshot Method

Definition

Overloads

ApplySnapshot(NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType>, Boolean)

[Foundation.Export("applySnapshot:animatingDifferences:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ApplySnapshot(UIKit.NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType> snapshot, bool animatingDifferences);
[<Foundation.Export("applySnapshot:animatingDifferences:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ApplySnapshot : UIKit.NSDiffableDataSourceSnapshot<'SectionIdentifierType, 'ItemIdentifierType (requires 'SectionIdentifierType :> Foundation.NSObject and 'ItemIdentifierType :> Foundation.NSObject)> * bool -> unit
override this.ApplySnapshot : UIKit.NSDiffableDataSourceSnapshot<'SectionIdentifierType, 'ItemIdentifierType (requires 'SectionIdentifierType :> Foundation.NSObject and 'ItemIdentifierType :> Foundation.NSObject)> * bool -> unit

Parameters

animatingDifferences
Boolean
Attributes

Applies to

ApplySnapshot(NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType>, Boolean, Action)

[Foundation.Export("applySnapshot:animatingDifferences:completion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ApplySnapshot(UIKit.NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType> snapshot, bool animatingDifferences, Action? completion);
[<Foundation.Export("applySnapshot:animatingDifferences:completion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ApplySnapshot : UIKit.NSDiffableDataSourceSnapshot<'SectionIdentifierType, 'ItemIdentifierType (requires 'SectionIdentifierType :> Foundation.NSObject and 'ItemIdentifierType :> Foundation.NSObject)> * bool * Action -> unit
override this.ApplySnapshot : UIKit.NSDiffableDataSourceSnapshot<'SectionIdentifierType, 'ItemIdentifierType (requires 'SectionIdentifierType :> Foundation.NSObject and 'ItemIdentifierType :> Foundation.NSObject)> * bool * Action -> unit

Parameters

animatingDifferences
Boolean
completion
Action
Attributes

Applies to