PSAlignmentLayout 版本 1.0.0

PSAlignmentLayout 版本 1.0.0

patshen维护。



PSAlignmentLayout 版本 1.0.0

  • 作者
  • swx

PSAlignmentLayout

使用方法

PSAlignmentLayout* layout = [[PSAlignmentLayout alloc] init];

// If not set this property or set it to `YES`, it will create a word wrap collection.
[layout setAutoWordWrap:NO];

CGRect frame = CGRectMake(0, 0, 320, 300);
UICollectionView* collectionView = [[UICollectionView alloc] initWithFrame:frame collectionViewLayout:layout];

...