- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 iOS 新特性之集合内存在的数据(指定集合内存储的数据)
// iOS9 之前-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ // iOS9 之后- (void)touchesBegan:(NSSetUITouch *> *)touches withEvent:(UIEvent *)event{ (NSSetU
2015-10-28 15:04:21 428
原创 计时器
// - NSTimer [NSTimerscheduledTimerWithTimeInterval:1target:selfselector:@selector(OnBtnClick)userInfo:nilrepeats:YES];// - CADisplayLink CADisplayLink * link = [CADisp
2015-10-23 11:36:40 298
原创 view自带方法的调用时间
- (void)drawRect:(CGRect)rect{// - 会在view显示到屏幕的时候调用一次// -在 view 里画图 [image drawAsPatternInRect:rect];// -在 view 中写字 [@"DDD"drawAtPoint:CGPointMake(90,90)withAttributes:nil];...
2015-10-23 10:11:49 347
原创 创建存储点坐标的数组
// - 创建用来存储point的数组 CGPoint point[3] = {{100,180},{38,90},{190,39}};
2015-10-22 20:47:42 8614
原创 tabbar 设置选中文字的颜色
self.tabBar.selectedImageTintColor = [UIColororangeColor];
2015-10-13 09:53:38 6541
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人