{"id":19688056,"url":"https://github.com/benemdon/centeredcollectionview","last_synced_at":"2025-04-08T08:12:49.026Z","repository":{"id":50282468,"uuid":"67263142","full_name":"BenEmdon/CenteredCollectionView","owner":"BenEmdon","description":"A lightweight UICollectionViewLayout that 'pages' and centers its cells 🎡 written in Swift","archived":false,"fork":false,"pushed_at":"2021-01-20T08:28:57.000Z","size":23132,"stargazers_count":1406,"open_issues_count":0,"forks_count":111,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-04-04T09:12:38.259Z","etag":null,"topics":["carousel","carthage","center","cocoapods","ios","spm","swift","tvos","uicollectionview","uicollectionviewflowlayout","uicollectionviewlayout"],"latest_commit_sha":null,"homepage":"","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/BenEmdon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-03T00:42:11.000Z","updated_at":"2025-04-01T21:07:51.000Z","dependencies_parsed_at":"2022-08-25T12:31:43.658Z","dependency_job_id":null,"html_url":"https://github.com/BenEmdon/CenteredCollectionView","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenEmdon%2FCenteredCollectionView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenEmdon%2FCenteredCollectionView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenEmdon%2FCenteredCollectionView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenEmdon%2FCenteredCollectionView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenEmdon","download_url":"https://codeload.github.com/BenEmdon/CenteredCollectionView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247801169,"owners_count":20998339,"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","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":["carousel","carthage","center","cocoapods","ios","spm","swift","tvos","uicollectionview","uicollectionviewflowlayout","uicollectionviewlayout"],"created_at":"2024-11-11T18:36:53.429Z","updated_at":"2025-04-08T08:12:48.996Z","avatar_url":"https://github.com/BenEmdon.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CenteredCollectionView\n[![Build Status](https://travis-ci.org/BenEmdon/CenteredCollectionView.svg?branch=master)](https://travis-ci.org/BenEmdon/CenteredCollectionView)\n[![Version](https://img.shields.io/cocoapods/v/CenteredCollectionView.svg?style=flat)](http://cocoapods.org/pods/CenteredCollectionView)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![SwiftPM compatible](https://img.shields.io/badge/SwiftPM-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager)\n[![Swift 5.0](https://img.shields.io/badge/Swift-5.0-orange.svg?style=flat)](https://swift.org)\n[![Platform](https://img.shields.io/badge/platforms-iOS%20%7C%20tvOS-orange.svg)](http://cocoapods.org/pods/CenteredCollectionView)\n\n`CenteredCollectionView` is a lightweight drop in place `UICollectionViewFlowLayout` that _pages_ and keeps its cells centered, resulting in the _\"carousel effect\"_ 🎡\n\n## Example\n\n![Demo](/.github/demo.gif)\n\nTo try the example using Cocoapods:\n```bash\npod try CenteredCollectionView\n```\n\n## Requirements\nThis pod requires a deployment target of iOS 9.0 or greater\n\n## Installation\n\nCenteredCollectionView is available through [Swift Package Manager](https://swift.org/package-manager/), [CocoaPods](http://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage).\n\nTo install it with **Swift Package Manager**, add the URL `https://github.com/BenEmdon/CenteredCollectionView` in Xcode Add Package Dependency assistant ; or add to your own `Package.swift`:\n```swift\ndependencies: [\n  .package(url: \"https://github.com/BenEmdon/CenteredCollectionView\", from: \"2.2.2\")\n]\n```\n\nTo install it with **Cocoapods**, add the following line to your `Podfile`:\n```ruby\npod \"CenteredCollectionView\"\n```\n\nTo install it with **Carthage**, add the following line to your `Cartfile`:\n```\ngithub \"BenEmdon/CenteredCollectionView\"\n```\n\n## Usage\nCheckout [`USAGE.md`](/USAGE.md)\n\n## API\nCheckout [`API.md`](/API.md)\n\n## Contributing\n\nHave a suggestion? All contributions are welcome!\n\nIf you make a pull request or an issue, you're likely to get a _swift_ response!\n\n## Author\n\n[@BenEmdon 👨‍💻](https://twitter.com/BenEmdon)\n\n## License\n\nCenteredCollectionView is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenemdon%2Fcenteredcollectionview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenemdon%2Fcenteredcollectionview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenemdon%2Fcenteredcollectionview/lists"}