UICollectionView-Spring-Demo

A demonstration of UICollectionView and UIKit Dynamics

Github星跟蹤圖

UICollectionView-Spring-Demo

A demonstration of UICollectionView and UIKit Dynamics. Uses tiling in order to maintain high-performance even with ten thousand cells.

Demo

Animation

Usage

To use this in your project, just add the TLSpringFlowLayout classes. Then create a UICollectionView (either with code or in a Storyboard). Set the UICollectionView's Flow Layout object to TLSpringFlowLayout.

Extra Goodies

If you setup your collection with code, you can set the scrollResistanceFactor property. This property increases the bounciness of the collection items as they scroll.

You can also retrieve the dynamicAnimator property (read-only) if necessary.

License

MIT License. Copyright (c) 2013 Teehan+Lax. See the LICENSE file for more information.

Created by Teehan+Lax. Updated by Sam Spencer on February 8, 2014.

主要指標

概覽
名稱與所有者TeehanLax/UICollectionView-Spring-Demo
主編程語言Objective-C
編程語言Objective-C (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2013-08-08 18:43:06
推送於2015-06-10 21:18:39
最后一次提交2014-02-14 09:17:53
發布數0
用户参与
星數470
關注者數32
派生數70
提交數25
已啟用問題?
問題數16
打開的問題數14
拉請求數5
打開的拉請求數2
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?