Skip to content

Commit 52cfd20

Browse files
committed
Update NSCollectionViewDiffableDataSource+.swift
1 parent bdc8d2b commit 52cfd20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/AdvancedCollectionTableView/Extensions/NSCollectionView/NSCollectionViewDiffableDataSource+.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ extension NSCollectionViewDiffableDataSource {
2121
itemProvider(collectionView, IndexPath(item: 0, section: 0), itemIdentifier)
2222
}
2323

24-
/// Returns a preview image of the collection view item for the specified element.
24+
/// Returns a preview image of the collection view item for the specified item.
2525
public func previewImage(for item: ItemIdentifierType) -> NSImage? {
2626
_previewImage(for: item, size: nil)
2727
}
2828

29-
/// Returns a preview image of the collection view item for the specified element and item size.
29+
/// Returns a preview image of the collection view item for the specified item and item size.
3030
public func previewImage(for item: ItemIdentifierType, size: CGSize) -> NSImage? {
3131
_previewImage(for: item, size: size)
3232
}

0 commit comments

Comments
 (0)