Rename FSPagerViewCollectionView to FSPagerCollectionView.

This commit is contained in:
WenchaoD 2018-10-10 22:35:18 +08:00
parent d3544d8076
commit 0c776994db
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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