01 2015 档案

摘要:查看本地分支$ git branch查看远程分支加上-a参数可以查看远程分支,远程分支会用红色表示出来(如果你开了颜色支持的话):$ git branch -a master remote tungway v1.52* zrong remotes/origin/master remote... 阅读全文

posted @ 2015-01-21 01:01 SCaptain 阅读(1786) 评论(0) 推荐(0)

摘要:1、給iPhone安裝google map app,因為之後會使用這個程序進行導航2、在自己的App中需要進行導航的地方,加入下列代碼if ([[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString:@"comgo... 阅读全文

posted @ 2015-01-07 19:07 SCaptain 阅读(1018) 评论(0) 推荐(0)

摘要:void arraySort3() { Student *stu1 = [Student studentWithFirstname:@"MingJie" lastname:@"Li"]; Student *stu2 = [Student studentWithFirstname:... 阅读全文

posted @ 2015-01-06 21:57 SCaptain 阅读(293) 评论(0) 推荐(0)

摘要:1、存照片 1 - (void)setPhoto:(UIImage *)image{ 2 UIImage *image = image; 3 4 5 //0.5代表的是压缩率,1为不压缩,图像质量最高,0为最高压缩,图像质量最低 6 NSData *imageDat... 阅读全文

posted @ 2015-01-06 10:39 SCaptain 阅读(269) 评论(0) 推荐(0)

导航