# LCollectionViewLayout **Repository Path**: SoulmateL/LCollectionViewLayout ## Basic Information - **Project Name**: LCollectionViewLayout - **Description**: 简易的瀑布流效果,可动态改变列数,上下左右间隔。 - **Primary Language**: Objective-C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-04-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LCollectionViewLayout 本项目实现常见的瀑布流效果。 # 列数为2 ![CarouselView in action](0C3B3BFA-DCE3-41B5-B291-2F8C17319EF1.png) # 列数为3 ![CarouselView in action](72E41F6C-E30E-4B25-8C69-F9C0EDEF505D.png) # 列数为6 ![CarouselView in action](6334A844-BE1B-4A36-A2CB-372CBAE76BB4.png) 本项目使用方便:
1.只需要初始化一个LCollectionLayout
2.初始化LCollectionLayout时,将每个item的高度传入,具体可看demo
3.将LCollectionLayout作为你想要布局的collectionView的collectionViewLayout即可
/Users/Soulmate/Desktop/Demo/QQDrawer_swift/QQDRAWER.gif