File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ public func numberOfItems(in pagerView: FSPagerView) -> Int {
309309 return numberOfItems
310310}
311311
312- public func pagerView (_ pagerView : FSPagerView, cellForItemAt index : Int ) -> FSPagerViewBaseCell {
312+ public func pagerView (_ pagerView : FSPagerView, cellForItemAt index : Int ) -> UICollectionViewCell {
313313 let cell = pagerView.dequeueReusableCell (withReuseIdentifier : " cell" , at : index) as! FSPagerViewCell
314314 cell.imageView ? .image = ...
315315 cell.textLabel ? .text = ...
@@ -348,14 +348,14 @@ func pagerView(_ pagerView: FSPagerView, didSelectItemAt index: Int)
348348---
349349
350350``` swift
351- func pagerView (_ pagerView : FSPagerView, willDisplay cell : FSPagerViewBaseCell , forItemAt index : Int )
351+ func pagerView (_ pagerView : FSPagerView, willDisplay cell : UICollectionViewCell , forItemAt index : Int )
352352```
353353> Tells the delegate that the specified cell is about to be displayed in the pager view.
354354
355355---
356356
357357``` swift
358- func pagerView (_ pagerView : FSPagerView, didEndDisplaying cell : FSPagerViewBaseCell , forItemAt index : Int )
358+ func pagerView (_ pagerView : FSPagerView, didEndDisplaying cell : UICollectionViewCell , forItemAt index : Int )
359359```
360360> Tells the delegate that the specified cell was removed from the pager view.
361361
You can’t perform that action at this time.
0 commit comments