自定义UICollectionViewFlowLayout ,仿照nice首页,实现左右切换滑动效果
In your Podfile:
pod 'RFCircleCollectionViewFlowLayout'
UICollectionView *myCollectionView = [[UICollectionView alloc] initWithFrame:CGRectZero collectionViewLayout:[RFlayout alloc] init];
[self.view addSubview:myCollectionView];
Email:[email protected]