Skip to content

A subclass of UICollectionViewFlowLayout that layout UICollectionViewCell as floating layout

License

Notifications You must be signed in to change notification settings

PatShen/PSAlignmentLayout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSAlignmentLayout

Usage

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];

...

About

A subclass of UICollectionViewFlowLayout that layout UICollectionViewCell as floating layout

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published