Skip to content

kaditya007/CardLayout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CardLayout

An iOS collection view card layout representation.

To integrate this you need to do following steps.

  1. Download the Layout fies.
  2. In your nib file or by code set layout property of collectionview to CardLayout.
  3. Add the method in your collection viwe implementation class

-(void)setLayout {

CardLayout *layout =  (CardLayout *)collectionViewObj.collectionViewLayout;

layout.actualCellHeight = yourValue;//500

layout.visibleCellHeight = yourValue;//15;

layout.actualCellWidth = yourValue;//320;

layout.startX = yourValue;//0;

layout.startY = yourValue;//0;

layout.cardsXOffset = yourValue;//12;

layout.cardsYOffset = yourValue;//8;

}

About

An iOS collection view card layout representation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published