摘要: - (void)viewDidLoad{ [super viewDidLoad]; UIScrollView *scrollview=[[UIScrollView alloc] initWithFrame:[UIScreen mainScreen].bounds]; scrollview.c... 阅读全文
posted @ 2014-11-22 23:56 銱ル╬鎯噹 阅读(122) 评论(0) 推荐(0)
摘要: UIGestureRecognizer基类是一个抽象类,我们主要是使用它的子类(名字包含链接,可以点击跳到ios Developer library,看官方文档):UITapGestureRecognizerUIPinchGestureRecognizerUIRotationGestureRecog... 阅读全文
posted @ 2014-11-22 23:45 銱ル╬鎯噹 阅读(137) 评论(0) 推荐(0)
摘要: - (void)viewDidLoad{ [super viewDidLoad]; UITextField *input=[[UITextField alloc] initWithFrame:CGRectMake(0, 100, 200, 100)]; self.textfield=input... 阅读全文
posted @ 2014-11-22 23:39 銱ル╬鎯噹 阅读(144) 评论(0) 推荐(0)
摘要: typedef enum{alertviewType1,alertviewType2,} alertviewType;@interface ZBMainViewController ()@end@implementation ZBMainViewController- (void)viewDidLo... 阅读全文
posted @ 2014-11-22 00:54 銱ル╬鎯噹 阅读(146) 评论(0) 推荐(0)
摘要: ZBMainViewController *main=[[ZBMainViewController alloc] init]; ZBBaseController *navigationcontroller=[[ZBBaseController alloc] initWithRootViewCo... 阅读全文
posted @ 2014-11-22 00:18 銱ル╬鎯噹 阅读(233) 评论(0) 推荐(0)
摘要: //RootViewController.m- (void)viewDidLoad { // Do any additional setup after loading the view. [super viewDidLoad]; // Do any additional setu... 阅读全文
posted @ 2014-11-22 00:11 銱ル╬鎯噹 阅读(215) 评论(0) 推荐(0)
摘要: 1. 文件CMD + N: 新文件CMD + SHIFT + N: 新项目CMD + O: 打开CMD + S: 保存CMD + SHIFT + S: 另存为CMD + W: 关闭窗口CMD + SHIFT + W: 关闭文件2. 编辑CMD + [: 左缩进CMD + ]: 右缩进CMD + CT... 阅读全文
posted @ 2014-11-22 00:08 銱ル╬鎯噹 阅读(231) 评论(0) 推荐(0)