Add comments to 'dataSource' and 'delegate' property.

This commit is contained in:
WenchaoD 2018-09-18 13:06:15 +08:00
parent 515068d176
commit 7aad89b419
1 changed files with 3 additions and 0 deletions

View File

@ -88,7 +88,10 @@ open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelega
// MARK: - Public properties
/// The object that acts as the data source of the pager view.
@IBOutlet open weak var dataSource: FSPagerViewDataSource?
/// The object that acts as the delegate of the pager view.
@IBOutlet open weak var delegate: FSPagerViewDelegate?
/// The scroll direction of the pager view. Default is horizontal.