# Page
**Repository Path**: CaamDau/Page
## Basic Information
- **Project Name**: Page
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-06-16
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://travis-ci.org/CaamDau/Page)
[](https://cocoapods.org/pods/CaamDauPage)
[](https://cocoapods.org/pods/CaamDauPage)
[](https://cocoapods.org/pods/CaamDauPage)
[](https://cocoapods.org/pods/CaamDauPage)
# Page 标签导航分页控制
## Installation
```ruby
pod 'CaamDauPage'
pod 'CaamDau/Page'
```
## Usage
#### PageControl 指示器
```ruby
lazy var pageControl: PageControl = {
return PageControl(itemConfig:PageControlItem.Model(), buoyConfig: PageControlBuoy.Model())
}()
pageControl.dataSource = (0..<3).map({ (i) -> PageControlItemDataSource in
var d = PageControlItemDataSource()
d.id = i.stringValue
d.title = "Title-\(i)"
return d
})
```
#### PageViewController 分页控制器
```ruby
lazy var pageVC: PageViewController = {
return PageViewController()
}()
pageVC.dataSource = [RowVC(dataSource: "id", config: "config"),
RowVC(),
RowVC()]
pageVC.dataSource.append(RowVC())
pageVC.dataSource += [RowVC()]
pageVC.selectIndex = 2
```
## Author
liucaide, 565726319@qq.com
## License
CaamDau is available under the MIT license. See the LICENSE file for more info.