Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A lightweight UICollectionViewLayout that 'pages' and centers its cells 🎡 written in Swift

License

NotificationsYou must be signed in to change notification settings

BenEmdon/CenteredCollectionView

Build StatusVersionCarthage compatibleSwiftPM compatibleSwift 5.0Platform

CenteredCollectionView is a lightweight drop in placeUICollectionViewFlowLayout thatpages and keeps its cells centered, resulting in the"carousel effect" 🎡

Example

Demo

To try the example using Cocoapods:

pod try CenteredCollectionView

Requirements

This pod requires a deployment target of iOS 9.0 or greater

Installation

CenteredCollectionView is available throughSwift Package Manager,CocoaPods andCarthage.

To install it withSwift Package Manager, add the URLhttps://github.com/BenEmdon/CenteredCollectionView in Xcode Add Package Dependency assistant ; or add to your ownPackage.swift:

dependencies:[.package(url:"https://github.com/BenEmdon/CenteredCollectionView", from:"2.2.2")]

To install it withCocoapods, add the following line to yourPodfile:

pod"CenteredCollectionView"

To install it withCarthage, add the following line to yourCartfile:

github "BenEmdon/CenteredCollectionView"

Usage

CheckoutUSAGE.md

API

CheckoutAPI.md

Contributing

Have a suggestion? All contributions are welcome!

If you make a pull request or an issue, you're likely to get aswift response!

Author

@BenEmdon 👨‍💻

License

CenteredCollectionView is available under the MIT license. See the LICENSE file for more info.

About

A lightweight UICollectionViewLayout that 'pages' and centers its cells 🎡 written in Swift

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors11

Languages


[8]ページ先頭

©2009-2025 Movatter.jp