Skip to content

DavidWangTM/CardSlide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CardSlide

仿Nice卡片滑动

Preview

image

Usage

The initialization is very simple. Just like the sample below:

  DWFlowLayout *layout = [[DWFlowLayout alloc] init];
  //设置是否需要分页
  [layout setPagingEnabled:YES];
  self.collectionView.collectionViewLayout = layout;

  
  //为垂直缩放除以系数
  static CGFloat const ActiveDistance = 350;
  //越大,缩放越大。
  static CGFloat const ScaleFactor = 0.05;
  

About

仿Nice卡片滑动

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published