ios程序运行后,异步访问了一个网络请求。然后在解析了从服务器返回的信息后,直接new了UIAlertView对象,准备弹窗提示,这时候控制台打印了一串异常的信息:This application is modifying the autolayout engine from a backgroun...
分类:
移动开发 时间:
2015-11-27 17:26:00
阅读次数:
746
Rx是响应式编程的意思, 本质是观察者模式, 是以观察者(Observer)和订阅者(Subscriber)为基础的异步响应方式. 在Android编程时, 经常会使用后台线程, 那么就可以使用这种方式. 目前的异步编程方式都会导致一些问题, 如(1) Asynctasks can easily lead to memory leaks.
(2) CursorLoaders with a Conte...
分类:
移动开发 时间:
2015-11-11 16:46:54
阅读次数:
504
在实际项目中,对于一些重要的文本,希望突出强调的部分都会做另外的样式处理。Bootstrap同样对这部分做了一些轻量级的处理。如果想让一个段落p突出显示,可以通过添加类名“.lead”实现,其作用就是增大文本字号,加粗文本,而且对行高和margin也做相应的处理。用法如下:强调内容我是普通文本,我的...
分类:
其他好文 时间:
2015-10-27 15:20:37
阅读次数:
202
Part 1原文:6 Rules of Thumb for MongoDB Schema Design: Part 1By William Zola, Lead Technical Support Engineer at MongoDB“我有丰富的sql使用经验,但是我是个MongoDB的初学者。我...
分类:
数据库 时间:
2015-10-23 11:33:21
阅读次数:
242
xcode6是没有问题的在利用JavaScriptCore与H5交互时出现异常提示:This application is modifying the autolayout engine from a background thread, which can lead to engine corru...
分类:
移动开发 时间:
2015-10-20 19:27:46
阅读次数:
290
在利用JavaScriptCore与H5交互时出现异常提示:This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and .....
分类:
移动开发 时间:
2015-10-19 12:47:32
阅读次数:
287
Given an input string, reverse the string word by word. A word is defined as a sequence of non-space characters.The input string does not contain lead...
分类:
其他好文 时间:
2015-10-11 06:46:14
阅读次数:
186
响应式图像媒体查询@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { ... }为了给段落添加强调文本,则可以添加 class="lead",这将得到更大更粗、行高更高的文本网格布局 ...
分类:
其他好文 时间:
2015-10-10 07:57:50
阅读次数:
166
Today, Infusion held a talk in Columbia University about tech interview.Talker: Nishit Shah @ Infusion, Techinical Account Manager, Dev -> Team Lead -...
分类:
其他好文 时间:
2015-10-10 06:48:05
阅读次数:
232
Saruman's ArmyTime Limit:1000MSMemory Limit:65536KTotal Submissions:5760Accepted:2949DescriptionSaruman the White must lead his army along a straight ...
分类:
其他好文 时间:
2015-10-04 21:03:22
阅读次数:
247