Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Commit a078d33

Browse files
author
eonfluxor
committed
patch
1 parent e1aab02 commit a078d33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/ASCollectionView/ASCollectionView+Modifiers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public extension ASCollectionView
104104
func onDidDisplay(_ callback: ((UICollectionViewCell, IndexPath)->Void)?) -> Self
105105
{
106106
var this = self
107-
this.onWillDisplay = callback
107+
this.onDidDisplay = callback
108108
return this
109109
}
110110

Sources/ASCollectionView/ASTableView+Modifiers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public extension ASTableView
6161
func onDidDisplay(_ callback: ((UITableViewCell, IndexPath)->Void)?) -> Self
6262
{
6363
var this = self
64-
this.onWillDisplay = callback
64+
this.onDidDisplay = callback
6565
return this
6666
}
6767

0 commit comments

Comments
 (0)