苹果官方展示UICollectionView 用法的 Demo
Check out my weibo for more info.
Check out my twitter for more info.
=========================================================================== DESCRIPTION:
This example shows how to implement a document-browser-like-interface as a flow layout subclass, and using automatic invalidation on bounds change to implement the 'scale center cell' effect. It also implements a layout-level method to adjust the scrolling final position so the final cell will always be centered.
=========================================================================== CHANGES FROM PREVIOUS VERSIONS:
Version 1.0
=========================================================================== Copyright (C) 2012 Apple Inc. All rights reserved.