01 2016 档案

摘要:1、确定CollectionViewCell 上要显示的内容,通常是图片(imageView)和文字(label 或者 text) 2、创建 CollectionViewCell 继承 UICollectionViewCell 3、在.m 文件夹里 定义 imageView 和 label,imag 阅读全文
posted @ 2016-01-25 14:21 悠扬007 阅读(363) 评论(0) 推荐(0)
摘要:1、给每个子控制器添加导航栏 /** * 初始化一个子控制器 * * @param child 需要初始化的子控制器 * @param title 标题 * @param imageName 未选中图标 * @param selectedImageName 选中的图标 */ - (void)setu 阅读全文
posted @ 2016-01-21 17:40 悠扬007 阅读(282) 评论(0) 推荐(0)
摘要:一、创建窗口 self.window = [[UIWindow alloc] init]; self.window.frame = [UIScreen mainScreen].bounds; // 设置窗口的根控制器 self.window.rootViewController = [[UITabB 阅读全文
posted @ 2016-01-20 16:16 悠扬007 阅读(238) 评论(0) 推荐(0)