UICollectionView-Spring-Demo:UICollectionView 和 UIKit 动态演示

时间:2021-05-31 10:58:19
【文件属性】:
文件名称:UICollectionView-Spring-Demo:UICollectionView 和 UIKit 动态演示
文件大小:45KB
文件格式:ZIP
更新时间:2021-05-31 10:58:19
Objective-C UICollectionView-Spring-Demo UICollectionView 和 UIKit Dynamics 的演示。 使用平铺以保持高性能,即使有一万个单元。 演示 用法 要在您的项目中使用它,只需添加TLSpringFlowLayout类。 然后创建一个 UICollectionView(使用代码或在 Storyboard 中)。 将 UICollectionView 的 Flow Layout 对象设置为TLSpringFlowLayout 。 额外的东西 如果您使用代码设置集合,则可以设置scrollResistanceFactor属性。 此属性会在滚动时增加集合项的弹性。 如有必要,您还可以检索dynamicAnimator属性(只读)。 执照 MIT许可证。 版权所有 (c) 2013 Teehan+Lax。 有关详细信息,请参阅许可证文件。 由 Teeh
【文件预览】:
UICollectionView-Spring-Demo-master
----UICollectionView-Spring-Demo()
--------UICollectionView-Spring-Demo-Info.plist(1KB)
--------en.lproj()
--------UICollectionView-Spring-Demo-Prefix.pch(347B)
--------main.m(363B)
--------TLSpringFlowLayout.h(1KB)
--------TLViewController.h(345B)
--------TLAppDelegate.m(353B)
--------Images.xcassets()
--------TLViewController.m(1KB)
--------TLSpringFlowLayout.m(10KB)
--------TLAppDelegate.h(303B)
--------Storyboard.storyboard(37KB)
----UICollectionView-Spring-Demo.xcodeproj()
--------project.xcworkspace()
--------xcuserdata()
--------project.pbxproj(16KB)
----LICENSE(1KB)
----README.md(934B)
----.gitignore(232B)

网友评论