自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 注意uiview的两个重绘函数

两个重回函数 setNeedsDisplay 和 setNeedsLayout. 有空详细看一下。

2015-09-12 10:40:14 215

原创 UIimageView添加点击事件

carImage.userInteractionEnabled = YES; UITapGestureRecognizer *carImageAction = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(carImageAction)]; [carImage addGesture

2015-09-10 11:17:17 641

转载 view透明度渐变

CABasicAnimation *theAnimation;     theAnimation=[CABasicAnimation animationWithKeyPath:@"opacity"];     theAnimation.duration=1.0;     theAnimation.fromValue=[NSNumber numberWithFloat:0.0];    

2015-09-06 09:43:26 192

转载 view出现隐藏的动画效果

[UIView beginAnimations:@"begin" context:nil];     [UIView setAnimationDuration:1];     [UIView setAnimationCurve:UIViewAnimationCurveEaseOut];     [UIView setAnimationTransition:UIViewA

2015-09-06 09:35:58 300

转载 nsstring和int float的相互转换(转)

NSString *tempA = @"123";   NSString *tempB = @"456"; 1,字符串拼接  NSString *newString = [NSString stringWithFormat:@"%@%@",tempA,tempB]; 2,字符转int int intString = [newString int

2015-08-31 22:22:46 281

转载 AFnetworking接收数据可变的问题!

之前接收到json的数据之后无法修改。因为默认接收下来的数据类型是不可变的。比如nsdictionary或者nsarray 设置一下af接收的类型就可以了 (一下摘自网络) 我用的是AFNetworking2.5的,原来响应序列器设置为AFHTTPResponseSerializer *responseSerializer = [AFJSONResponseSerializer s

2015-08-31 21:43:48 255

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除