CollectionViewCenteredFlowLayout

所属分类:硬件设计
开发工具:Swift
文件大小:0KB
下载次数:0
上传日期:2023-07-29 15:50:53
上 传 者sh-1993
说明:  将单元格与中心对齐的UICollectionView布局。,
(A layout for UICollectionView that aligns the cells to the center.,)

文件列表:
.travis.yml (1375, 2023-07-29)
CollectionViewCenteredFlowLayout.podspec (999, 2023-07-29)
CollectionViewCenteredFlowLayout/ (0, 2023-07-29)
CollectionViewCenteredFlowLayout/CollectionViewCenteredFlowLayout.swift (6758, 2023-07-29)
Example/ (0, 2023-07-29)
Example/.swiftlint.yml (1074, 2023-07-29)
Example/CollectionViewCenteredFlowLayout.xcodeproj/ (0, 2023-07-29)
Example/CollectionViewCenteredFlowLayout.xcodeproj/project.pbxproj (27259, 2023-07-29)
Example/CollectionViewCenteredFlowLayout.xcodeproj/project.xcworkspace/ (0, 2023-07-29)
Example/CollectionViewCenteredFlowLayout.xcodeproj/project.xcworkspace/contents.xcworkspacedata (152, 2023-07-29)
Example/CollectionViewCenteredFlowLayout.xcodeproj/xcshareddata/ (0, 2023-07-29)
Example/CollectionViewCenteredFlowLayout.xcodeproj/xcshareddata/xcschemes/ (0, 2023-07-29)
Example/CollectionViewCenteredFlowLayout.xcodeproj/xcshareddata/xcschemes/Example.xcscheme (4002, 2023-07-29)
Example/CollectionViewCenteredFlowLayout.xcworkspace/ (0, 2023-07-29)
Example/CollectionViewCenteredFlowLayout.xcworkspace/contents.xcworkspacedata (250, 2023-07-29)
Example/CollectionViewCenteredFlowLayout.xcworkspace/xcshareddata/ (0, 2023-07-29)
Example/CollectionViewCenteredFlowLayout.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (238, 2023-07-29)
Example/Example/ (0, 2023-07-29)
Example/Example/AppDelegate.swift (252, 2023-07-29)
Example/Example/Assets.xcassets/ (0, 2023-07-29)
Example/Example/Assets.xcassets/AppIcon.appiconset/ (0, 2023-07-29)
Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json (1495, 2023-07-29)
Example/Example/Base.lproj/ (0, 2023-07-29)
Example/Example/Base.lproj/LaunchScreen.storyboard (1740, 2023-07-29)
Example/Example/Base.lproj/Main.storyboard (5426, 2023-07-29)
Example/Example/Info.plist (1442, 2023-07-29)
Example/Example/ViewController.swift (3114, 2023-07-29)
Example/Podfile (281, 2023-07-29)
Example/Podfile.lock (495, 2023-07-29)
Example/Tests/ (0, 2023-07-29)
Example/Tests/CollectionViewCenteredFlowLayoutTests.swift (987, 2023-07-29)
Example/Tests/Info.plist (701, 2023-07-29)
LICENSE (1072, 2023-07-29)
Package.swift (447, 2023-07-29)
icon.png (5086, 2023-07-29)
screenshot.png (23538, 2023-07-29)

UICollectionView Centered Flow Layout ===================================== A `UICollectionViewLayout` implementation that aligns the cells to the center. ## Installation with CocoaPods ```ruby pod 'CollectionViewCenteredFlowLayout' ``` ## Usage Simply set `CollectionViewCenteredFlowLayout` as the layout object for your collection view either via Interface Builder. `CollectionViewCenteredFlowLayout` is a subclass of `UICollectionViewFlowLayout`, so your collection view delegate can use all the delegate methods of [`UICollectionViewDelegateFlowLayout`](https://developer.apple.com/reference/uikit/uicollectionviewdelegateflowlayout). ## License `CollectionViewCenteredFlowLayout` is released under the [MIT license](https://github.com/coeur/CollectionViewCenteredFlowLayout/blob/main/LICENSE).

近期下载者

相关文件


收藏者