File tree 1 file changed +3
-3
lines changed
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 {
309
309
return numberOfItems
310
310
}
311
311
312
- public func pagerView (_ pagerView : FSPagerView, cellForItemAt index : Int ) -> FSPagerViewBaseCell {
312
+ public func pagerView (_ pagerView : FSPagerView, cellForItemAt index : Int ) -> UICollectionViewCell {
313
313
let cell = pagerView.dequeueReusableCell (withReuseIdentifier : " cell" , at : index) as! FSPagerViewCell
314
314
cell.imageView ? .image = ...
315
315
cell.textLabel ? .text = ...
@@ -348,14 +348,14 @@ func pagerView(_ pagerView: FSPagerView, didSelectItemAt index: Int)
348
348
---
349
349
350
350
``` swift
351
- func pagerView (_ pagerView : FSPagerView, willDisplay cell : FSPagerViewBaseCell , forItemAt index : Int )
351
+ func pagerView (_ pagerView : FSPagerView, willDisplay cell : UICollectionViewCell , forItemAt index : Int )
352
352
```
353
353
> Tells the delegate that the specified cell is about to be displayed in the pager view.
354
354
355
355
---
356
356
357
357
``` swift
358
- func pagerView (_ pagerView : FSPagerView, didEndDisplaying cell : FSPagerViewBaseCell , forItemAt index : Int )
358
+ func pagerView (_ pagerView : FSPagerView, didEndDisplaying cell : UICollectionViewCell , forItemAt index : Int )
359
359
```
360
360
> Tells the delegate that the specified cell was removed from the pager view.
361
361
You can’t perform that action at this time.
0 commit comments