UICollectionView 使用 介绍
2016-02-24 20:44
387 查看
转载自: http://my.oschina.net/sunqichao/blog/182623
1.1.1 Collection View 元素
1.1.2 数据模型与交互
数据模型(数据提供者UICollectionViewDataSource)
交互(UICollectionViewDelegate)
1.1.3 内容的显示
UICollectionViewCell Styles
使用自己的layout(UICollectionViewLayout)
1.2 Flow Layout
1.2.2 自定义 Flow Layout
Item size(每个item的大小)
Line spacing(每行的间距)
Inter cell spacing(每行内部cell item的间距)
Scrolling direction(滚动方向)
Header and footer size(页眉和页脚大小)
Section Inset
1.1.1 Collection View 元素
1.1.2 数据模型与交互
数据模型(数据提供者UICollectionViewDataSource)
交互(UICollectionViewDelegate)
1.1.3 内容的显示
UICollectionViewCell Styles
使用自己的layout(UICollectionViewLayout)
1.2 Flow Layout
1.2.2 自定义 Flow Layout
Item size(每个item的大小)
Line spacing(每行的间距)
Inter cell spacing(每行内部cell item的间距)
Scrolling direction(滚动方向)
Header and footer size(页眉和页脚大小)
Section Inset
|
相关文章推荐
- String,StringBuffer,StringBuilder三者区别
- deque向量
- UITextField知多少
- 持续集成(CI)-build, test, and deploy & 自动化编译系统 mark & learn
- Android--UI控件的使用格式化
- iOS 开发之动画篇 - 从 UIView 动画说起
- 深入分析Parquet列式存储格式
- POJ - 3481 Double Queue
- hasshmap输出value
- ios隐藏UItableview下面多余的tableview的线条CELL / 隐藏脚视图
- @RequestParam 和@RequestBody的使用方式
- UITextView 监听 return key的改变
- LeetCode Algorithms #232 <Implement Queue using Stacks>
- 放肆地使用UIBezierPath和CAShapeLayer画各种图形
- APUE.3e 安装 Ubuntu
- UITextField 小总结
- 1099. Build A Binary Search Tree (30)
- UINT8_T / UINT16_T / UINT32_T /UINT64_T讲解
- 机器人操作系统(ROS)教程19:安装ARDUINO IDE使用rosserial
- UI整理-----part8--导航控制器(navigationController)