上一页 1 2 3 4 5 6 ··· 9 下一页
//该方法是检查字典中是否有nil 的,有nil就转行成""- (NSDictionary *)checkDict:(NSDictionary *)sender{ NSMutableDictionary * dict_mutable = [[NSMutableDictionary alloc] i... Read More
posted @ 2015-03-13 14:10 lanacon Views(357) Comments(0) Diggs(0) Edit
- (void)didclickBtn_edit:(UIButton *)sender event:(UIEvent *)event{ UITouch *touch = [[event allTouches] anyObject]; CGPoint currentTouchPosition = ... Read More
posted @ 2015-03-04 19:00 lanacon Views(110) Comments(0) Diggs(0) Edit
本文从网络上摘抄,怕那个博客关闭等原因,故复制过来.忘见谅.php这么流行,不能不研究一下。首先得找到好用的工具,见网上大神们都推荐神器phpStorm,那我也追追风,下载了一个phpStorm 7.1。平时工作都是在mac系统,所以这儿只介绍mac系统神器的配置。安装我就不用多说了嘛。安装成功后,... Read More
posted @ 2015-01-27 15:46 lanacon Views(782) Comments(0) Diggs(0) Edit
#import - (IBAction)authenticateButtonTapped:(id)sender { LAContext *context = [[LAContext alloc] init]; context.localizedFallbackTitle = @"输入密码"; ... Read More
posted @ 2015-01-15 09:49 lanacon Views(291) Comments(0) Diggs(0) Edit
- (UIImageView *)rotate360DegreeWithImageView:(UIImageView *)imageView{ CABasicAnimation *animation = [ CABasicAnimation animationWithKeyPath: @"tran... Read More
posted @ 2014-12-17 18:40 lanacon Views(174) Comments(0) Diggs(0) Edit
一:情景:在mac下使用git;xcode4.6的环境时,需要安装command line tools ,但是在装了xcode5之后,就不需要安装command line tools了,默认已经集成了;但是我先装了,xcode4.6后来又安装了xcode5也就是,我mac上安装了两个版本的xocde... Read More
posted @ 2014-10-30 15:53 lanacon Views(317) Comments(0) Diggs(0) Edit
本文章参照李明杰老师的视频.使用block 首先要会声明和实例化blockblock 的声明:block 分为 有返回值有参数,没返回值有参数,有返回值没参数,没返回值没参数 几种情况有返回值 有参数的 int (^argReturnBlock)(int,int);其他几种分别是 int (^Ret... Read More
posted @ 2014-10-24 00:00 lanacon Views(185) Comments(0) Diggs(0) Edit
avaudio = [[AVAudioPlayer alloc] initWithData:data error:&error]; // avaudio = [[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL URLWithString:cell... Read More
posted @ 2014-10-21 16:28 lanacon Views(252) Comments(0) Diggs(0) Edit
http://blog.csdn.net/andypan1314/article/details/39207191 Read More
posted @ 2014-10-16 10:27 lanacon Views(118) Comments(0) Diggs(0) Edit
插入排序,就是对一个已经排序好 的数组中插入元素,比如{2,3,1,4,5},这5个元素组成的数组,我们现在要对他们进行排序,首先,我们把{2}看成已经排序好的数组,然后,把3 这个元素插入到已经排序好的{2} 的数组中,于是就会有{2,3},然后,再把1插入到{2,3}已经排序好的数组中,这个时候... Read More
posted @ 2014-09-23 21:16 lanacon Views(146) Comments(0) Diggs(0) Edit
上一页 1 2 3 4 5 6 ··· 9 下一页