Rename FSPagerViewCollectionView to FSPagerCollectionView.
This commit is contained in:
parent
d3544d8076
commit
0c776994db
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
// FSPagerViewCollectionView.swift
|
||||
// FSPagerCollectionView.swift
|
||||
// FSPagerView
|
||||
//
|
||||
// Created by Wenchao Ding on 24/12/2016.
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
import UIKit
|
||||
|
||||
class FSPagerViewCollectionView: UICollectionView {
|
||||
class FSPagerCollectionView: UICollectionView {
|
||||
|
||||
fileprivate var pagerView: FSPagerView? {
|
||||
return self.superview?.superview as? FSPagerView
|
||||
|
|
|
|||
|
|
@ -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?
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue