上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: iOS面试知识点(1)Java垃圾回收机制和ARC回收机制的区别? ARC自动引用计数(automatic reference counting),当你在编译程序时提供自动管理内存的功能,它会为程序自动加入内存的控制代码,控制独享声明周期。这样一来,就可以简化内存管理步骤。不过支持的版本是在i... 阅读全文
posted @ 2015-08-06 19:24 Clin 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 1.统计ios开发代码,包括头文件的,终端命令进入项目目录下,命令如下find . -name "*.m" -or -name "*.h" -or -name "*.xib" -or -name "*.c" |xargs wc -l 列出每个文件的行数find . -name "*.m" -or -... 阅读全文
posted @ 2014-06-28 12:33 Clin 阅读(166) 评论(0) 推荐(0) 编辑
摘要: xp 需要密码设置 run -> control userpasswords2 阅读全文
posted @ 2014-06-07 12:15 Clin 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1.chmod u+x test.sh2.hash bang 阅读全文
posted @ 2014-03-17 22:32 Clin 阅读(115) 评论(0) 推荐(0) 编辑
摘要: sudo gem update --systemsudo gem install cocoapodspod setuppod --version 阅读全文
posted @ 2014-03-17 22:14 Clin 阅读(6280) 评论(0) 推荐(1) 编辑
摘要: #pragma mark -#pragma mark - 缩放处理+ (UIImage *)scaleImage:(UIImage *)image withScale:(float)scale{ UIGraphicsBeginImageContext(CGSizeMake(image.size.width * scale, image.size.height * scale)); [image drawInRect:CGRectMake(0, 0, image.size.width * scale, image.size.height * scale)]; UIIma... 阅读全文
posted @ 2014-03-06 08:49 Clin 阅读(7214) 评论(1) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/21474536/podfile-gives-an-error-on-installA bug was found in libgit2 and they had to execute a force push on the specs repo. This is what broke everyone's CocoaPods setup.You can find the official post about this issue on the CocoaPods blog :http://blog.cocoapo 阅读全文
posted @ 2014-02-14 22:43 Clin 阅读(1028) 评论(0) 推荐(0) 编辑
摘要: 1. Terms and conditions(法律与条款)1.1As a developer of applications for the App Store you are bound by the terms of theProgram License Agreement(PLA), Human Interface Guidelines (HIG), and any other licenses or contracts between you and Apple. The following rules and examples are intended to assist you 阅读全文
posted @ 2014-02-09 20:51 Clin 阅读(485) 评论(0) 推荐(0) 编辑
摘要: //// UIView+Borders.h//// Created by Aaron Ng on 12/28/13.// Copyright (c) 2013 Delve. All rights reserved.//#import @interface UIView (Borders)/* Create your borders and assign them to a property on a view when you can via the create methods when possible. Otherwise you might end up with multipl... 阅读全文
posted @ 2014-01-12 09:48 Clin 阅读(1072) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-11-21 13:51 Clin 阅读(348) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页