Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
VOMetroLayoutDemo.xcodeproj
VOMetroLayoutDemo
VOMetroLayoutDemoTests
.gitignore
LICENSE
README.md

README.md

VOMetroLayoutDemo

Metro风格的UICollectionView, 目前只支持横向布局,仅在iPad上应用.

目前只支持设置4个参数:

styleArray, NSNumber二维数组,每个数字的值对应VOMetroCellStyle枚举类型.

areaSpacing, 每个区域直接的间距.

unitsPerSide, 竖向最多显示的方块数量,默认为8个.

headerFooterPostion, header和footer的位置.

备注: 目前仅用于自己工作中的项目, 需要的请自行修改代码. VOMetroLayout.h中有使用制表符绘制的示意图.

You can’t perform that action at this time.