{"id":2219,"url":"https://github.com/Interactive-Studio/ISPageControl","last_synced_at":"2025-08-02T23:32:35.654Z","repository":{"id":45876378,"uuid":"112099672","full_name":"Interactive-Studio/ISPageControl","owner":"Interactive-Studio","description":"A page control similar to that used in Instagram","archived":false,"fork":false,"pushed_at":"2021-11-30T14:29:08.000Z","size":16196,"stargazers_count":293,"open_issues_count":16,"forks_count":44,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-07-19T22:56:49.941Z","etag":null,"topics":["indicator","instagram","ios","page","pagecontrol","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Interactive-Studio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-26T16:48:23.000Z","updated_at":"2025-03-12T04:23:07.000Z","dependencies_parsed_at":"2022-09-05T15:41:15.194Z","dependency_job_id":null,"html_url":"https://github.com/Interactive-Studio/ISPageControl","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Interactive-Studio/ISPageControl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Interactive-Studio%2FISPageControl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Interactive-Studio%2FISPageControl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Interactive-Studio%2FISPageControl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Interactive-Studio%2FISPageControl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Interactive-Studio","download_url":"https://codeload.github.com/Interactive-Studio/ISPageControl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Interactive-Studio%2FISPageControl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268472848,"owners_count":24255771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["indicator","instagram","ios","page","pagecontrol","swift"],"created_at":"2024-01-05T20:16:07.940Z","updated_at":"2025-08-02T23:32:34.671Z","avatar_url":"https://github.com/Interactive-Studio.png","language":"Swift","funding_links":[],"categories":["UI"],"sub_categories":["Other free courses","Font","Other Testing"],"readme":"# ISPageControl\n\n[![Carthage compatible](https://img.shields.io/badge/Carthage-Compatible-brightgreen.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Version](https://img.shields.io/cocoapods/v/Hero.svg?style=flat)](http://cocoapods.org/pods/Hero)\n![Xcode 9.0+](https://img.shields.io/badge/Xcode-9.0%2B-blue.svg)\n![iOS 8.0+](https://img.shields.io/badge/iOS-8.0%2B-blue.svg)\n![Swift 4.0+](https://img.shields.io/badge/Swift-4.0%2B-orange.svg)\n[![License](https://img.shields.io/cocoapods/l/Hero.svg?style=flat)](https://github.com/lkzhao/Hero/blob/master/LICENSE?raw=true)\n\n**ISPageControl** has a page control similar to that used in the Instagram\n\n\u003cimg src=\"Resource/example.gif\" width=\"300\"\u003e\n\n## Contents\n\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Communication](#communication)\n- [Credits](#credits)\n- [License](#license)\n\n## Requirements\n\n- iOS 8.0+\n- Xcode 9.0+\n- Swift 4.0+\n\n## Installation\n\n### CocoaPods\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n\n\u003e CocoaPods 1.1+ is required to build ISPageControl 4.0+.\n\nTo integrate ISPageControl into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '8.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\npod 'ISPageControl', '~\u003e 0.1.0'\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n### Carthage\n\n[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with [Homebrew](http://brew.sh/) using the following command:\n\n```bash\n$ brew update\n$ brew install carthage\n```\n\nTo integrate ISPageControl into your Xcode project using Carthage, specify it in your `Cartfile`:\n\n```ogdl\ngithub \"Interactive-Studio/ISPageControl\" ~\u003e 0.1.0\n```\n\nRun `carthage update` to build the framework and drag the built `ISPageControl.framework` into your Xcode project.\n\n### Manually\n\nIf you prefer not to use either of the aforementioned dependency managers, you can integrate ISPageControl into your project manually.\n\n---\n\n## Usage\n\nThe usage of **ISPageControl** is very simple\n\n### Storyboard, Xib\n\nJust drop UIView and set its class to be one of ISPageControl.\n\n\u003cimg src=\"Resource/storyboard.png\" width=\"400\"\u003e\n\n### Code\n\n```swift\nlet frame = CGRect(x: 0, y: 500, width: UIScreen.main.bounds.width, height: 100)\npageControl = ISPageControl(frame: frame, numberOfPages: 4)\npageControl.radius = 10\npageControl.padding = 10\npageControl.inactiveTintColor = UIColor.purple\npageControl.borderWidth = 3\npageControl.borderColor = UIColor.red\nview.addSubview(pageControl)\n```\n\n### Custom\n\n```swift\n@IBInspectable open var inactiveTintColor: UIColor\n\n@IBInspectable open var currentPageTintColor: UIColor\n\n@IBInspectable open var radius: CGFloat\n\n@IBInspectable open var padding: CGFloat\n\n@IBInspectable open var minScaleValue: CGFloat\n\n@IBInspectable open var middleScaleValue: CGFloat\n\n@IBInspectable open var numberOfPages: Int\n\n@IBInspectable open var hideForSinglePage: Bool\n\n@IBInspectable open var inactiveTransparency: CGFloat\n\n@IBInspectable open var borderWidth: CGFloat\n\n@IBInspectable open var borderColor: UIColor\n```\n\nIf you want to know more detailed usage, please refer to Example.\n\n## Communication\n\n- If you **found a bug**, open an issue.\n- If you **have a feature request**, open an issue.\n- If you **want to contribute**, submit a pull request.\n\n## Credits\n\n- GwangBeom Park ([@gwangbeom](https://github.com/ParkGwangBeom))\n\n## License\n\nISPageControl is released under the MIT license. See LICENSE for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInteractive-Studio%2FISPageControl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FInteractive-Studio%2FISPageControl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInteractive-Studio%2FISPageControl/lists"}