[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6962":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":39,"readmeContent":40,"aiSummary":41,"trendingCount":16,"starSnapshotCount":16,"syncStatus":42,"lastSyncTime":43,"discoverSource":44},6962,"CHIPageControl","ChiliLabs\u002FCHIPageControl","ChiliLabs","A set of cool animated page controls written in Swift to replace boring UIPageControl. Mady by @ChiliLabs - https:\u002F\u002Fchililabs.io","",null,"Swift",3464,264,43,17,0,1,3,5,29.27,"MIT License",false,"master",true,[26,27,28,29,30,31,32,33,34,35,36,37,38],"cocoapods","ibdesignable","ibinspectable","ios","ipad","iphone","pagecontrol","pageindicator","pager","storyboard","swift","swift3","ui","2026-06-12 02:01:32","# CHIPageControl\n\nCHIPageControl is a set of cool animated page controls to replace boring UIPageControl.\nWe were inspired by [Jardson Almeida dribbble shot](https:\u002F\u002Fdribbble.com\u002Fshots\u002F2578447-Page-Control-Indicator-Transitions-Collection) and implemented a few more page controls.\n\nMade with ❤️ by [Chili Labs](https:\u002F\u002Fchililabs.io).\n\n## Overview\n\n\u003Cimg src=\"Images\u002Fdemo.gif\" width=\"600\" height=\"450\">\n\n## Requirements\n\n* iOS 8.0+\n* Xcode 8+\n* Swift 3\n\n## Installation\n\n### Manually\n\nJust add the `CHIPageControl` folder to your project.\n\n### CocoaPods\n\nuse [CocoaPods](https:\u002F\u002Fcocoapods.org) with Podfile:\n``` ruby\npod 'CHIPageControl', '~> 0.1.3'\n\n# individual page control\npod 'CHIPageControl\u002FAji'\npod 'CHIPageControl\u002FAleppo'\npod 'CHIPageControl\u002FChimayo'\npod 'CHIPageControl\u002FFresno'\npod 'CHIPageControl\u002FJalapeno'\npod 'CHIPageControl\u002FJaloro'\npod 'CHIPageControl\u002FPaprika'\npod 'CHIPageControl\u002FPuya'\n```\n### Carthage\n\nuse [Carthage](https:\u002F\u002Fgithub.com\u002FCarthage\u002FCarthage) with Cartfile\n```ogdl\ngithub \"ChiliLabs\u002FCHIPageControl\" ~> 0.1.3\n```\n\n### Swift Package Manager\n\nThe [Swift Package Manager](https:\u002F\u002Fwww.swift.org\u002Fpackage-manager\u002F) is a tool for managing the distribution of Swift code.\n\nAdd the following to your `Package.swift` file:\n```\ndependencies: [\n    .package(url: \"https:\u002F\u002Fgithub.com\u002FChiliLabs\u002FCHIPageControl.git\", .branch(\"master\"))\n]\n```\nAnd then build your project\n```\n$ swift build\n```\n\n## Usage\n### 🎨 Storyboards\nJust drop UIView and set its class to be one of CHIPageControls.\n\u003Cimg src=\"Images\u002Fibdesignable.gif\" width=\"800\" height=\"564\">\n### 💻 Code\n``` swift\nlet pageControl = CHIPageControlAji(frame: CGRect(x: 0, y:0, width: 100, height: 20))\npageControl.numberOfPages = 4\npageControl.radius = 4\npageControl.tintColor = .red\npageControl.currentPageTintColor = .green\npageControl.padding = 6\n```\n\n### Adding multiple tintColors\n``` swift\n\u002F\u002F The size of the array needs to match the numberOfPages or it will throw an fatal error\npageControl.tintColors = [UIColor.black, UIColor.yellow, UIColor.black, UIColor.black]\n\n\u002F\u002F or\n\n\u002F\u002F If it is the first one, it will fill all colors with the selected tintColor and then replace the colors with the desired one\npageControl.insertTintColor(UIColor.yellow, position: 1)\n```\n\n### Updating progress\n``` swift\n\u002F\u002Fupdate dynamically\npageControl.progress = 0.5\n\n\u002F\u002Fset progress with animation\npageControl.set(progress: 2, animated: true)\n```\n\n### Touch events\n\nYou can hear touch events in any of the page indicators. \n``` swift\npageControl.enableTouchEvents = true\n```\n\n### Delegate\n\nImplement the `CHIBasePageControlDelegate` to catch touch events.\n\n```swift\nfunc didTouch(pager: CHIBasePageControl, index: Int)\n```\n\n### Page Controls 🌶️🌶️🌶️\n\n\u003Cimg src=\"Images\u002FAji.gif\" width=\"100\" height=\"50\"> CHIPageControlAji\n\n\u003Cimg src=\"Images\u002FAleppo.gif\" width=\"100\" height=\"50\"> CHIPageControlAleppo\n\n\u003Cimg src=\"Images\u002FChimayo.gif\" width=\"100\" height=\"50\"> CHIPageControlChimayo\n\n\u003Cimg src=\"Images\u002FFresno.gif\" width=\"100\" height=\"50\"> CHIPageControlFresno\n\n\u003Cimg src=\"Images\u002FJalapeno.gif\" width=\"100\" height=\"50\"> CHIPageControlJalapeno\n\n\u003Cimg src=\"Images\u002FJaloro.gif\" width=\"100\" height=\"50\"> CHIPageControlJaloro\n\n\u003Cimg src=\"Images\u002FPaprika.gif\" width=\"100\" height=\"50\"> CHIPageControlPaprika\n\n\u003Cimg src=\"Images\u002FPuya.gif\" width=\"100\" height=\"50\"> CHIPageControlPuya\n\n## License\nCHIPageControl is released under the MIT license. See [LICENSE](.\u002FLICENSE) for details.\n","CHIPageControl 是一组用 Swift 编写的酷炫动画页面控制器，用于替代传统的 UIPageControl。该项目提供了多种风格的页面指示器，支持自定义颜色、大小和动画效果，并且可以通过 Interface Builder 或代码轻松集成到 iOS 项目中。它利用了 IBDesignable 和 IBInspectable 特性，使得在 Storyboard 中直接预览和调整样式变得简单快捷。适用于需要增强用户体验的应用场景，如图片轮播、教程引导页等，能够显著提升界面美观度与交互体验。",2,"2026-06-11 03:09:53","top_language"]