会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
弓林
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2016年2月17日
XML解析
摘要: #import "ViewController.h" #import "Student.h"//首先需要新建一个模型,继承自NSObject的类 Student; @interface ViewController ()<NSXMLParserDelegate> //声明变量 @property (
阅读全文
posted @ 2016-02-17 13:40 弓林
阅读(163)
评论(0)
推荐(0)
2016年2月11日
UIScrollView
摘要: 1 UIScrollView 的使用 1.1 UIScrollView的使用需要设置 滚动的范围、偏移量两个属性 contentSize 、contentOffset 1.2 接受代理和 指定代理 UIScrollViewDelegate 滚动过程的方法 - (void)scrollViewDidS
阅读全文
posted @ 2016-02-11 15:39 弓林
阅读(156)
评论(0)
推荐(0)
2016年2月10日
UITableView的自定义cell
摘要: 1 初始化 cell的方法中 - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier; 其内部控件的frame给CGRectZero 并且将cell内部
阅读全文
posted @ 2016-02-10 17:55 弓林
阅读(136)
评论(0)
推荐(0)
2016年2月5日
UITableView
摘要: 1 创建UITableView _tableView = [[UITableView alloc] initWithFrame:[[UIScreen mainScreen] bounds] style:UITableViewStylePlain]; 可以设置分割线样式 和颜色 _tableView.
阅读全文
posted @ 2016-02-05 23:56 弓林
阅读(116)
评论(0)
推荐(0)
2016年2月1日
UICollectionView
摘要: 1 集合视图的创建 1.1 必须要先初始化一个 布局 self.layout = [[UICollectionViewFlowLayout alloc] init]; (或者自己自定义的布局) 1.2 再初始化集合视图本身 self.collectionV = [[UICollectionView
阅读全文
posted @ 2016-02-01 13:13 弓林
阅读(213)
评论(0)
推荐(0)
上一页
1
2
公告