摘要: //// AchievementViewController.m// LIBAOZHENG0826//// Created by 张艳锋 on 15/8/27.// Copyright (c) 2015年 张艳锋. All rights reserved.//#import "Achievement... 阅读全文
posted @ 2015-08-31 16:56 OIMMZC 阅读(264) 评论(0) 推荐(0) 编辑
摘要: UITextView *textView=[[UITextView alloc]initWithFrame:CGRectMake(20, 40, 150, 170)];//初始化并设置大小 textView.text= [ModelDataAll dataDetailFromModel:poet_... 阅读全文
posted @ 2015-08-31 16:34 OIMMZC 阅读(1395) 评论(0) 推荐(0) 编辑
摘要: [UIView animateWithDuration:0.5 animations:^{ CGAffineTransform moveTrans2=CGAffineTransformMakeTranslation(160, 0);//相对于初始位置移动的位置,原位置(0,0) [_u... 阅读全文
posted @ 2015-08-28 09:48 OIMMZC 阅读(260) 评论(0) 推荐(0) 编辑
摘要: //最简单-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ [NSObject cancelPreviousPerformRequestsWithTarget:self]; UITouch *touch = ... 阅读全文
posted @ 2015-08-27 13:08 OIMMZC 阅读(309) 评论(0) 推荐(0) 编辑
摘要: //// ViewController.m////// Created by 张艳锋 on 15/8/26.// Copyright (c) 2015年 张艳锋. All rights reserved.//#import "ViewController.h"#import "LBZPrefixHe... 阅读全文
posted @ 2015-08-26 16:40 OIMMZC 阅读(734) 评论(0) 推荐(0) 编辑
摘要: //非原创作为一种轻量级的数据交换格式,json正在逐步取代xml,成为网络数据的通用格式。有的json代码格式比较混乱,可以使用此“http://www.bejson.com/”网站来进行JSON格式化校验(点击打开链接)。此网站不仅可以检测Json代码中的错误,而且可以以视图形式显示json中的... 阅读全文
posted @ 2015-08-20 08:49 OIMMZC 阅读(157) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"#import "DrawView.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIImageView *imageView;- (IBAction)doTo... 阅读全文
posted @ 2015-08-18 12:56 OIMMZC 阅读(130) 评论(0) 推荐(0) 编辑
摘要: // ViewController.m// IOS动画0817//// Created by 张艳锋 on 15/8/17.// Copyright (c) 2015年 张艳锋. All rights reserved.//#import "ViewController.h"@interface V... 阅读全文
posted @ 2015-08-18 12:50 OIMMZC 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 文件结构application//#import "ViewController.h"#import "VideoViewController.h"#import "MovieViewController.h"@interface ViewController (){ //将类视图控制器设为全局变... 阅读全文
posted @ 2015-08-13 18:39 OIMMZC 阅读(220) 评论(0) 推荐(0) 编辑
摘要: //// ViewController.h// IOSUIGesterRrcognizer0813//// Created by scjy on 15/8/13.// Copyright (c) 2015年 scjy. All rights reserved.//#import @interface... 阅读全文
posted @ 2015-08-13 14:49 OIMMZC 阅读(221) 评论(0) 推荐(0) 编辑