CenteredCollectionView 2.2.2

CenteredCollectionView 2.2.2

测试已测试
Lang语言 SwiftSwift
许可 MIT
发布最后发布2020年1月
SPM支持 SPM

Ben Emdon 维护。



CenteredCollectionView

Build Status Version Carthage compatible SwiftPM compatible Swift 5.0 Platform

CenteredCollectionView 是一个轻量级的 UICollectionViewFlowLayout 替代品,将页面保持居中,产生类似 “轮播效果” 的效果🎡

示例

Demo

试用示例需要使用 Cocoapods

pod try CenteredCollectionView

要求

此 Pod 需要 iOS 9.0 或更高版本作为部署目标

安装

CenteredCollectionView 通过 Swift Package ManagerCocoaPodsCarthage 可用。

要使用 Swift Package Manager 安装它,请将 URL https://github.com/BenEmdon/CenteredCollectionView 添加到 Xcode 添加包依赖助手;或者添加到您的自己的 Package.swift

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

要使用 Cocoapods 安装它,请将以下行添加到您的 Podfile

pod "CenteredCollectionView"

要使用 Carthage 安装它,请将以下行添加到您的 Cartfile

github "BenEmdon/CenteredCollectionView"

使用方法

请检查 USAGE.md

API

请检查 API.md

贡献

有没有建议?所有贡献都受欢迎!

如果您发起请求或提出问题,您很可能会得到迅速的响应!

作者

@BenEmdon👨‍💻

许可协议

CenteredCollectionView 可在 MIT 许可协议下获得。有关更多信息,请参阅 LICENSE 文件。