摘要: 1,Command + Shift + 0 (Zero),帮助文档;2,Command + Shift + O(o),快捷搜索;3, Command + Shift + J ,定位你打开的文件,4, 阅读全文
posted @ 2015-12-03 14:19 欢欢0919 阅读(106) 评论(0) 推荐(0)
摘要: _extendView.hidden=NO; [UIViewanimateWithDuration:.5delay:0options:UIViewAnimationOptionCurveLinearanimations:^{ _extendView.frame=CGRectMake(0,64,... 阅读全文
posted @ 2015-12-03 14:18 欢欢0919 阅读(87) 评论(0) 推荐(0)
摘要: / 1.轻拍手势类 // 创建一个轻拍手势 同时绑定了一个事件 UITapGestureRecognizer *aTapGR = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapGRActio... 阅读全文
posted @ 2015-12-03 14:18 欢欢0919 阅读(154) 评论(0) 推荐(0)
摘要: SVN使用1,svn checkout [path] --username=ls --password=ls;svn status,查看svn help status,查看帮助M被修改,A被提交!文件丢失,不完整2,svn add main.c3,svn commit main.c-m "第一次提交... 阅读全文
posted @ 2015-12-03 14:17 欢欢0919 阅读(108) 评论(0) 推荐(0)
摘要: 1标题颜色:(在默认显示的标题中直接修改文件的大小和颜色也是可以的)[self.navigationController.navigationBar setTitleTextAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:19],N... 阅读全文
posted @ 2015-12-01 13:51 欢欢0919 阅读(228) 评论(0) 推荐(0)
摘要: 1,判断SuperView1 - (void)willMoveToSuperview:(UIView *)newSuperview2 {3 [super willMoveToSuperview:newSuperview];4 5 if (!newSuperview)6 ... 阅读全文
posted @ 2015-12-01 11:12 欢欢0919 阅读(197) 评论(0) 推荐(0)
摘要: 开始可以使用ARC( Automatic Reference Counting:自动引用计数 )来代替之前的MRC(Manual Reference Counting:人工引用计数)。使用ARC会减少很多代码和忘了释放对象的苦恼。但是事情都有两面性。使用了ARC之后如果你想复用以前写过的使用MRC的... 阅读全文
posted @ 2015-12-01 10:57 欢欢0919 阅读(192) 评论(0) 推荐(0)