Share via


UICollectionViewDiffableDataSource<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(NSDiffableDataSourceSectionSnapshot<ItemIdentifierType>, SectionIdentifierType, Boolean)

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

Parameters

sectionIdentifier
SectionIdentifierType
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

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

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

Parameters

sectionIdentifier
SectionIdentifierType
animatingDifferences
Boolean
completion
Action
Attributes

Applies to