Cardcollectionviewlayout:自定义 UICollectionviewLayout 实现卡片效果

时间:2021-06-01 20:20:35
【文件属性】:
文件名称:Cardcollectionviewlayout:自定义 UICollectionviewLayout 实现卡片效果
文件大小:168KB
文件格式:ZIP
更新时间:2021-06-01 20:20:35
Objective-C Cardcollectionviewlayout 一个自定义的UICollectionviewLayout类 ,可以实现卡片式滚动效果,使用简单 扩展性强。 使用方法: 1.实例化:CardLayout *layout=[[CardLayout alloc]init]; [layout setDelegate:self];//代理返回给控制器当前item.row 2.self.collectionV = [[TestCollectionView alloc]initWithFrame:frame collectionViewLayout:layout];
【文件预览】:
Cardcollectionviewlayout-master
----TestCollection.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(18KB)
--------xcuserdata()
----TestCollectionTests()
--------TestCollectionTests.m(878B)
--------Info.plist(745B)
----CardLayout.h(511B)
----TestCollection()
--------main.m(332B)
--------AppDelegate.h(275B)
--------TestCollectionViewCell.h(659B)
--------CardLayout.h(511B)
--------TestCollectionView.m(678B)
--------Info.plist(1KB)
--------Images.xcassets()
--------AppDelegate.m(2KB)
--------TestCollectionViewController.h(239B)
--------CardLayout.m(10KB)
--------TestCollectionViewController.m(8KB)
--------Base.lproj()
--------TestCollectionView.h(219B)
--------TestCollectionViewCell.m(5KB)
----README.md(506B)
----CardLayout.m(10KB)
----example.png(19KB)

网友评论