Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# CollectionView
   这里我在iOS中使用三种不同的方式实现UICollectionView,也就是一种瀑布流视图。分别使用storyboard、nib和纯代码的方式来实现。
##1.项目说明
## 1.项目说明
   UICollectionView继承自UITableView,基本的实现方式同UITableView。用UICollectionView实现的视图就是所谓的瀑布流界面,很多的电商网站,图片浏览App都是采用了这种设计方式。在我的这个项目中,我分别使用三种不同的方式来实现CollectionView:storyboard、nib文件和纯代码,可以适用在多种不同的项目开发情境下。
##2.动态加载
## 2.动态加载
   我在第四个例子中实现了使用UICollectionView进行动态增加一个Cell或者Section,主要使用了Lazy Load懒加载进行。并在插入一个Section的时候动态编辑Header头部视图。
##3.实现效果
## 3.实现效果
![Alt text](https://github.com/chenyufeng1991/CollectionView/raw/master/Screenshots/1.png)
</br>
&emsp;&emsp;&nbsp;动态增加Cell和Section的效果如下:</br>
Expand All @@ -16,5 +16,5 @@



##4.技术博客
## 4.技术博客
我的个人技术博客:[http://blog.csdn.net/chenyufeng1991](http://blog.csdn.net/chenyufeng1991) 。欢迎大家访问!