会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
骗人的孩纸
博客园
首页
新随笔
联系
管理
订阅
2016年3月2日
关于tabview的一些小问题
摘要: tableview中的cell和底下的线 1 // 刷新指定行数据 2 NSIndexPath *indexPath=[NSIndexPath indexPathForRow:0 inSection:0]; 3 [tab reloadRowsAtIndexPaths:[NSArray arrayWi
阅读全文
posted @ 2016-03-02 11:26 骗人的孩纸
阅读(231)
评论(0)
推荐(0)
2016年2月23日
可以拖动的View
摘要: 定义一个继承自UIview的类(即我们要移动的视图) BallView.h 1 @interface BallView : UIView 2 { 3 CGPoint startPoint; 4 } 5 @end BallView.m 1 @implementation BallView 2 3 -
阅读全文
posted @ 2016-02-23 10:27 骗人的孩纸
阅读(399)
评论(0)
推荐(0)
2016年2月22日
iOS事件(触摸,移动,晃动)
摘要: 1 //开始触摸 2 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 3 { 4 NSLog(@"你触摸了屏幕"); 5 } 6 //移动 7 - (void)touchesMoved:(NSSet *)touches
阅读全文
posted @ 2016-02-22 16:27 骗人的孩纸
阅读(865)
评论(0)
推荐(0)
公告