Skip to content

Commit

Permalink
Rename FSPagerViewCollectionView to FSPagerCollectionView.
Browse files Browse the repository at this point in the history
  • Loading branch information
WenchaoD committed Oct 10, 2018
1 parent d3544d8 commit 0c77699
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/FSPagerCollectionView.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// FSPagerViewCollectionView.swift
// FSPagerCollectionView.swift
// FSPagerView
//
// Created by Wenchao Ding on 24/12/2016.
Expand All @@ -10,7 +10,7 @@

import UIKit

class FSPagerViewCollectionView: UICollectionView {
class FSPagerCollectionView: UICollectionView {

fileprivate var pagerView: FSPagerView? {
return self.superview?.superview as? FSPagerView
Expand Down
4 changes: 2 additions & 2 deletions Sources/FSPagerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelega
// MARK: - Private properties

internal weak var collectionViewLayout: FSPagerViewLayout!
internal weak var collectionView: FSPagerViewCollectionView!
internal weak var collectionView: FSPagerCollectionView!
internal weak var contentView: UIView!

internal var timer: Timer?
Expand Down Expand Up @@ -557,7 +557,7 @@ open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelega

// UICollectionView
let collectionViewLayout = FSPagerViewLayout()
let collectionView = FSPagerViewCollectionView(frame: CGRect.zero, collectionViewLayout: collectionViewLayout)
let collectionView = FSPagerCollectionView(frame: CGRect.zero, collectionViewLayout: collectionViewLayout)
collectionView.dataSource = self
collectionView.delegate = self
collectionView.backgroundColor = UIColor.clear
Expand Down

0 comments on commit 0c77699

Please sign in to comment.