UIKit · IOS API REFERENCE
UITableViewDiffableDataSourceReference
class · iOS 13.0+ · SDK 27.1
@MainActor class UITableViewDiffableDataSourceReference
Members (11)
method · iOS 13.0+applySnapshot
TypeScriptapplySnapshotAnimatingDifferences(snapshot: NSDiffableDataSourceSnapshotReference, animatingDifferences: boolean): Promise<void>
Swift declarationfunc applySnapshot(_ snapshot: NSDiffableDataSourceSnapshotReference, animatingDifferences: Bool)
method · iOS 13.0+applySnapshot
TypeScriptapplySnapshotAnimatingDifferencesCompletion(snapshot: NSDiffableDataSourceSnapshotReference, animatingDifferences: boolean, completion?: ((() => void)) | null): Promise<void>
Swift declarationfunc applySnapshot(_ snapshot: NSDiffableDataSourceSnapshotReference, animatingDifferences: Bool, completion: (() -> Void)? = nil)
method · iOS 15.0+applySnapshot
TypeScriptapplySnapshotUsingReloadData(snapshot: NSDiffableDataSourceSnapshotReference): Promise<void>
Swift declarationfunc applySnapshot(usingReloadData snapshot: NSDiffableDataSourceSnapshotReference)
method · iOS 15.0+applySnapshot
TypeScriptapplySnapshotUsingReloadDataCompletion(snapshot: NSDiffableDataSourceSnapshotReference, completion?: ((() => void)) | null): Promise<void>
Swift declarationfunc applySnapshot(usingReloadData snapshot: NSDiffableDataSourceSnapshotReference, completion: (() -> Void)? = nil)
method · iOS 15.0+index
TypeScriptindex(identifier: unknown): Promise<number>
Swift declarationfunc index(forSectionIdentifier identifier: Any) -> Int
method · iOS 13.0+indexPath
TypeScriptindexPath(identifier: unknown): Promise<(_Foundation_IndexPath) | null>
Swift declarationfunc indexPath(forItemIdentifier identifier: Any) -> IndexPath?
method · iOS 13.0+itemIdentifier
TypeScriptitemIdentifier(indexPath: _Foundation_IndexPath): Promise<(unknown) | null>
Swift declarationfunc itemIdentifier(for indexPath: IndexPath) -> Any?
method · iOS 15.0+sectionIdentifier
TypeScriptsectionIdentifier(index: number): Promise<(unknown) | null>
Swift declarationfunc sectionIdentifier(for index: Int) -> Any?
method · iOS 13.0+snapshot
TypeScriptsnapshot(): Promise<NSDiffableDataSourceSnapshotReference>
Swift declarationfunc snapshot() -> NSDiffableDataSourceSnapshotReference
get · iOS 13.0+defaultRowAnimation
TypeScriptget defaultRowAnimation(): Promise<UITableView_RowAnimation>
Swift declarationvar defaultRowAnimation: UITableView.RowAnimation { get set }
set · iOS 13.0+defaultRowAnimation
TypeScriptsetDefaultRowAnimation(value: UITableView_RowAnimation): Promise<void>
Swift declarationvar defaultRowAnimation: UITableView.RowAnimation { get set }
Skipped declarations
2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UITableViewDiffableDataSourceReference.init(tableView:cellProvider:)
callback cannot propagate synchronous failure
UITableViewDiffableDataSourceReference.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All UIKit types →