会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lianhuaren
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
44
45
46
47
48
49
50
下一页
2015年12月1日
java 1.7
摘要: http://superuser.com/questions/740064/how-to-install-java-1-7-runtime-on-macos-10-9-mavericks sudo rm /usr/bin/java$ sudo ln -s /Library/Java/JavaVirt...
阅读全文
posted @ 2015-12-01 08:36 lianhuaren
阅读(260)
评论(0)
推荐(0)
2015年11月24日
objective-c-sort-keys-of-nsdictionary-based-on-dictionary-entries
摘要: NSArray *keys = [someDictionary allKeys];NSArray *sortedKeys = [keys sortedArrayUsingComparator:^NSComparisonResult(id a, id b) { NSString *first =...
阅读全文
posted @ 2015-11-24 11:21 lianhuaren
阅读(215)
评论(0)
推荐(0)
ios 防止按钮快速点击造成多次响应的避免方法。
摘要: - (void)starButtonClicked:(id)sender{ //先将未到时间执行前的任务取消。 [[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(todoSomething:...
阅读全文
posted @ 2015-11-24 09:12 lianhuaren
阅读(390)
评论(0)
推荐(0)
详解 iOS 上机题!附个人见解
摘要: 庸者的救赎2015-11-20 02:30:23AFN那个使用的时候不需要弱引用的,因为从你的封装方式来看,那个block并不会被当前视图控制器持有,而是被manager持有了,所以不需要__weak; 并不是所有的block都需要使用弱引用的 三种情况: 1. 如果这个block不被持有,那么你完...
阅读全文
posted @ 2015-11-24 08:48 lianhuaren
阅读(360)
评论(0)
推荐(0)
2015年11月20日
在使用开源library的PullToRefreshView中
摘要: 下拉刷新几乎是每个应用都会有的功能,且大部分用的都是开源项目,下载地址:下拉刷新。如何在页面刚打开的时候自动触发下拉刷新的呢?只需要一句代码,在PullToRefreshAdapterViewBase类中加入下面的代码:public void autoRefresh(){this.postDelay...
阅读全文
posted @ 2015-11-20 16:59 lianhuaren
阅读(118)
评论(0)
推荐(0)
2015年11月12日
curl
摘要: http://www.ruanyifeng.com/blog/2011/09/curl.htmlcurl --user-agent "[User Agent]" [URL]curl --user-agent "talk/1.1; ios/9.2; iphone/6.0.00; 320*480;" h...
阅读全文
posted @ 2015-11-12 13:56 lianhuaren
阅读(96)
评论(0)
推荐(0)
2015年11月10日
androids-addjavascriptinterface-equivalent-in-ios
摘要: http://stackoverflow.com/questions/7103159/androids-addjavascriptinterface-equivalent-in-ios
阅读全文
posted @ 2015-11-10 14:53 lianhuaren
阅读(221)
评论(0)
推荐(0)
Objective-C上地球坐标系到火星坐标系转换算法
摘要: Objective-C上地球坐标系到火星坐标系转换算法 http://blog.csdn.net/zhaoxy_thu/article/details/17033347
阅读全文
posted @ 2015-11-10 14:18 lianhuaren
阅读(168)
评论(0)
推荐(0)
2015年11月9日
好的团队成员是那种能够支撑起10亿美元、50亿美元公司估值顶级的人才;
摘要: http://www.tmtpost.com/1457562.htmliOS 面试基础题目http://www.jianshu.com/p/4d7292741f53
阅读全文
posted @ 2015-11-09 09:13 lianhuaren
阅读(130)
评论(0)
推荐(0)
2015年11月2日
2015年11月2日 autolayout
摘要: https://autolayoutconstraints.com/
阅读全文
posted @ 2015-11-02 11:02 lianhuaren
阅读(98)
评论(0)
推荐(0)
上一页
1
···
44
45
46
47
48
49
50
下一页
公告