All Projects → jjimeno → JJStaggeredGridCollectionView

jjimeno / JJStaggeredGridCollectionView

Licence: MIT License
A staggered UICollectionView grid layout subclassing UICollectionViewFlowLayout, with configurable columns, multiple sections, section insets, header & footer & dynamic cell size height

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to JJStaggeredGridCollectionView

SwiftWaterfallFlow
swift写的瀑布流布局
Stars: ✭ 37 (+32.14%)
Mutual labels:  waterfall, uicollectionviewflowlayout
Fields
Good, solid base to build custom forms in iOS apps, using self-sizing compositional layout.
Stars: ✭ 80 (+185.71%)
Mutual labels:  uicollectionviewflowlayout
vue-flex-waterfall
🌊 A horizontal sorting waterfall layout component for Vue.js, realized by flex layout
Stars: ✭ 27 (-3.57%)
Mutual labels:  waterfall
Anthem
React waterfall
Stars: ✭ 61 (+117.86%)
Mutual labels:  waterfall
SNCollectionViewLayout
Collection View Layouts is a set of custom flow layouts for iOS which imitate general data grid approaches for mobile apps.
Stars: ✭ 100 (+257.14%)
Mutual labels:  uicollectionviewflowlayout
CollectionViewMultiColumnLayout
A tiled waterfal/mosaic UICollectionViewLayout with support for explicit columns.
Stars: ✭ 13 (-53.57%)
Mutual labels:  waterfall
CSStickyFlowLayoutHeaders
UICollectionView replacement for your amazing headers
Stars: ✭ 16 (-42.86%)
Mutual labels:  uicollectionviewflowlayout
ETCollectionViewWaterFallLayout
ETCollectionViewWaterFallLayout is a subclass of UICollectionViewLayout written completely in Swift!
Stars: ✭ 29 (+3.57%)
Mutual labels:  waterfall
main project
基于nodejs的网络聊天室、爬虫,vue音乐播放器,及php后台开发的管理系统等项目
Stars: ✭ 49 (+75%)
Mutual labels:  waterfall
spellbook
Functional library for Javascript
Stars: ✭ 14 (-50%)
Mutual labels:  waterfall
JQCollectionViewAlignLayout
A custom layout object based on flow layout. Added supports for horizontal, vertical alignment and RTL direction of collection view items.(available for both UICollectionView and NSCollectionView)
Stars: ✭ 69 (+146.43%)
Mutual labels:  uicollectionviewflowlayout
FlameCord
Patch for Waterfall to improve performance during attacks and fix memory issues.
Stars: ✭ 103 (+267.86%)
Mutual labels:  waterfall
LeeesBungeeQueue
LeeesBungeeQueue is a 2b2t like queue plugin for Bungeecord
Stars: ✭ 18 (-35.71%)
Mutual labels:  waterfall
Flutter staggered grid view
A Flutter staggered grid view
Stars: ✭ 2,310 (+8150%)
Mutual labels:  staggeredgrid
DXScaleFlowLayout
Custom collectionView layout that display scaled up/down cells
Stars: ✭ 32 (+14.29%)
Mutual labels:  uicollectionviewflowlayout

JJStaggeredGridCollectionView

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first. The example uses getty images API, you need to change the api key for the example to work.

Usage

JJStaggeredGridCollectionViewLayout is a subclass of UICollectionViewFlowLayout.

You can use the following vars of UICollectionViewFlowLayout in JJStaggeredGridCollectionViewLayout:

open var minimumLineSpacing: CGFloat

open var minimumInteritemSpacing: CGFloat

open var scrollDirection: UICollectionViewScrollDirection // default is UICollectionViewScrollDirectionVertical

open var headerReferenceSize: CGSize

open var footerReferenceSize: CGSize

open var sectionInset: UIEdgeInsets

To set the number of columns your layout has, just change

collectionviewLayout.numColumns = 3

Installation

JJStaggeredGridCollectionView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "JJStaggeredGridCollectionView"

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].