Skip to content

Commit 6a48f73

Browse files
committed
Small changed
1 parent 3507a4c commit 6a48f73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Example/Example/SecoundViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ final class SecoundInfiniteTableViewCell: UITableViewCell {
8484
}
8585
@IBOutlet weak var pageControl: UIPageControl! {
8686
didSet {
87-
pageControl.numberOfPages = 10
87+
pageControl.numberOfPages = 4
8888
}
8989
}
9090
}
9191

9292
// MARK: - InfiniteCollectionViewDataSource, InfiniteCollectionViewDelegate
9393
extension SecoundInfiniteTableViewCell: InfiniteCollectionViewDataSource, InfiniteCollectionViewDelegate {
9494
func numberOfItems(collectionView: UICollectionView) -> Int {
95-
return 10
95+
return 4
9696
}
9797
func cellForItemAtIndexPath(collectionView: UICollectionView, dequeueIndexPath: NSIndexPath, indexPath: NSIndexPath) -> UICollectionViewCell {
9898
let cell = collectionView.dequeueReusableCellWithReuseIdentifier(IntroCollectionViewCell.identifier, forIndexPath: dequeueIndexPath) as! IntroCollectionViewCell

0 commit comments

Comments
 (0)