# 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

[![CI Status](https://img.shields.io/travis/CaamDau/Page.svg?style=flat)](https://travis-ci.org/CaamDau/Page) [![Version](https://img.shields.io/cocoapods/v/CaamDauPage.svg?style=flat)](https://cocoapods.org/pods/CaamDauPage) [![License](https://img.shields.io/cocoapods/l/CaamDauPage.svg?style=flat)](https://cocoapods.org/pods/CaamDauPage) [![Platform](https://img.shields.io/cocoapods/p/CaamDauPage.svg?style=flat)](https://cocoapods.org/pods/CaamDauPage) [![](https://img.shields.io/badge/Swift-4.0~5.0-orange.svg?style=flat)](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.