-(void)viewDidLoad{[superviewDidLoad];self.data=@[@"Camping",@"WaterSkiing",@"WeightLifting",@"StampCollecting"];UITableView*tableView=[[UITableViewalloc]initWithFrame:CGRectMake(0,20,[UIScreenmainScreen].bounds.size.width,[UIScreenmainScreen].bounds.size.h..
分类:
其他好文 时间:
2015-08-19 17:50:17
阅读次数:
112
0. indicating 决定1.in order to 以便2.rectangle bounds 矩形尺寸3.applied 应用4.entirety 全部5.technique 方法6.truncating 截短7.wrapping 换行8.string 字符串9.familiar style...
分类:
移动开发 时间:
2015-08-19 16:22:15
阅读次数:
127
/** @parma :view需要转换的视图* @parma:return:图片image*/- (UIImage *)getImageFromView:(UIView *)view{ UIGraphicsBeginImageContext(view.bounds.size); [view.l.....
分类:
移动开发 时间:
2015-08-17 16:58:50
阅读次数:
180
#import "RootViewController.h"#define width [UIScreen mainScreen].bounds.size.width#define height [UIScreen mainScreen].bounds.size.height#define topH...
分类:
其他好文 时间:
2015-08-17 11:58:23
阅读次数:
132
目录[-]一重要参数二几何变形Transforming a Layers Geometry三Layer数层结构Layer-Tree Hierarchy四提供Layer内容Providing Layer Content五动画六CALayer的子类们一.重要参数bounds,frame,position...
分类:
移动开发 时间:
2015-08-16 15:10:54
阅读次数:
257
bounds的原点是(0,0),frame原点任意bounds指再本身坐标系统的位置frame是父坐标UITextField的重绘–textRectForBounds: //重写来重置文字区域–drawTextInRect: //改变绘文字属性.重写时调用super可以按默认图形属性绘制,若...
分类:
其他好文 时间:
2015-08-14 21:13:21
阅读次数:
132
第一步:创建一个View,将这个View添加到当前的控制器如:CGFloat timeW = self.view.bounds.size.width;timeAnimation * timean = [[timeAnimation alloc]initWithFrame:CGRectMake(0,0...
分类:
移动开发 时间:
2015-08-14 11:37:53
阅读次数:
110
- (void)drawLine{ CAShapeLayer *shapeLayer = [CAShapeLayer layer]; [shapeLayer setBounds:self.bounds]; [shapeLayer setPosition:self.cente...
分类:
其他好文 时间:
2015-08-13 17:15:47
阅读次数:
173
1 UITabBarController *tabBarController =[[UITabBarController alloc] init];2 CGRect frame = self.window.bounds;3 tabBarController.tabBar.frame ...
分类:
其他好文 时间:
2015-08-13 13:48:31
阅读次数:
141
Spring接受前台的数据超过256出现如下异常:
org.springframework.beans.InvalidPropertyException: Invalid property 'specificationValues[256]' of bean class [com.sencloud.entity.Specification]: Index of out of bounds i...
分类:
编程语言 时间:
2015-08-13 10:05:00
阅读次数:
540