一、没有包装任何导航控制器或者UITabBarController1.控制器的view是UIScrollView/UITableView/UICollectionView时(控制器是UITableViewController的时候)- (void)viewDidLoad{ [superviewDi....
分类:
移动开发 时间:
2015-03-12 22:15:20
阅读次数:
129
// 初始化 UICollectionViewFlowLayout *flowLayout= [[UICollectionViewFlowLayout alloc]init]; UICollectionView *myCollectionView = [[UICollectionVie...
分类:
其他好文 时间:
2015-03-12 11:01:35
阅读次数:
198
About iOS Collection Views(关于IOS集合视图)
A collection view is a way to present an ordered set of data items using a flexible and changeable layout. The most common use for collection views is to pre...
分类:
移动开发 时间:
2015-03-05 17:10:46
阅读次数:
181
Collection View Basics(集合视图基础)
To present its content onscreen, a collection view cooperates with many different objects. Some objects are custom and must be provided by your app. For example, ...
分类:
移动开发 时间:
2015-03-05 17:08:29
阅读次数:
1576
#pragma mark - 设置自定义视图- (void)loadView{ self.rootView = [[[RootView alloc] initWithFrame:[UIScreen mainScreen].bounds] autorelease]; _rootView.backg.....
分类:
其他好文 时间:
2015-03-05 12:28:11
阅读次数:
158
视图的概念:从表中抽取出逻辑上相关的数据集合
视图相关概念:
1.视图是一种续表
2.视图建立在已有表的基础上,视图赖以建立的这些表称为基表
3.向视图提供数据内容的语句为SELECT语句,可以将视图理解为存储起来的SELECT语句视图的作用:
1.控制数据访问...
分类:
数据库 时间:
2015-03-04 01:10:51
阅读次数:
220
使用UICollectionView时,如果itemCell的size会跟随设备的屏幕大小改变而改变的话,会出现一些小问题。比如:iPhone6模拟器的屏幕width = 375,那么平均分成4等份的话,Cell的宽度则为93.75.不知道是什么原因,0.25有可能会造成空白,因此导致了有间隙。如果...
分类:
其他好文 时间:
2015-03-03 17:55:40
阅读次数:
172
FBLikeLayoutThis is an UICollectionView layout inspired by the photo section of facebook. This layout loads squared items with randomic full size item...
分类:
其他好文 时间:
2015-03-02 23:38:30
阅读次数:
216
day13目标:UICollectionViewController集合视图1.UICollectionViewController的基本使用: 1.1 Code纯代码的方式 a.Cell的简单样式+系统的流式布局 UICollectionViewCell+UICollectionViewFlowL...
分类:
移动开发 时间:
2015-02-28 01:35:12
阅读次数:
395
本文讲述了UITableView、UICollectionView实现 self-sizing cell 布局的知识,以及如何用 InvalidationContext 优化 UICollectionView 布局的更新。 背景 iOS 越来越人性化了,用户可以在设置-通用-辅助功能中动态调“”阅读...
分类:
移动开发 时间:
2015-02-27 20:13:33
阅读次数:
201