Skip to content

Commit

Permalink
Small changed
Browse files Browse the repository at this point in the history
  • Loading branch information
hryk224 committed Jan 4, 2016
1 parent 3507a4c commit 6a48f73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example/Example/SecoundViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ final class SecoundInfiniteTableViewCell: UITableViewCell {
}
@IBOutlet weak var pageControl: UIPageControl! {
didSet {
pageControl.numberOfPages = 10
pageControl.numberOfPages = 4
}
}
}

// MARK: - InfiniteCollectionViewDataSource, InfiniteCollectionViewDelegate
extension SecoundInfiniteTableViewCell: InfiniteCollectionViewDataSource, InfiniteCollectionViewDelegate {
func numberOfItems(collectionView: UICollectionView) -> Int {
return 10
return 4
}
func cellForItemAtIndexPath(collectionView: UICollectionView, dequeueIndexPath: NSIndexPath, indexPath: NSIndexPath) -> UICollectionViewCell {
let cell = collectionView.dequeueReusableCellWithReuseIdentifier(IntroCollectionViewCell.identifier, forIndexPath: dequeueIndexPath) as! IntroCollectionViewCell
Expand Down

0 comments on commit 6a48f73

Please sign in to comment.