You are a "Problem Killer", you want to solve many problems.
Now you have problems, the -th problem's difficulty is represented by an integer ().
For some strange reason, you must choose some integer and (), and solve the problems between the -th and...
分类:
其他好文 时间:
2015-08-27 15:23:47
阅读次数:
193
今天碰见了一个错误,搞了好久查不到原因,很是坑:
原因很清楚,就是因为我的某些数据请求的路径为空,也就是路径有错误.
但是具体是什么路径出现错误了?
上面的原因并没有说出来,还需要接着向下面看.
看到报错的,而且很是眼熟的就是KIImagePager,而且还是和路径有关联的,很有可能就是这里出错了~
先过去看看:
这两个类中,和KIImag...
分类:
Web程序 时间:
2015-08-25 21:51:05
阅读次数:
257
1. 单一职责原则 -Single Responsibility Principle
SRP,Single Responsibility Principle:
There should never be more than one reason for a class to change.
应该有且仅有一个原因引起类的变更。(如果类需要变更,那么只可能仅由某一个原因引起)...
分类:
其他好文 时间:
2015-08-21 23:19:23
阅读次数:
249
FoundationI must create a system, or be enslav'd by another Man's ; I will not reason and compare: my business is to create.--- William BlakeSuppose y...
分类:
其他好文 时间:
2015-08-21 18:56:22
阅读次数:
144
1.[AppModel copyWithZone:]: unrecognized selector sent to instance 0x7ffda9f4cf70
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AppModel copyWithZone:]: unrec...
分类:
移动开发 时间:
2015-08-18 22:45:51
阅读次数:
225
Android 通过广播接听Home键,这个方式是比较好用的一种方式
1.自定义广播
public class BroadcastReceiverEx extends BroadcastReceiver{
String SYSTEM_REASON = "reason";
String SYSTEM_HOME_KEY = "homekey";
String SYS...
分类:
移动开发 时间:
2015-08-18 16:19:35
阅读次数:
161
Problem Description
In China, foreign brand commodities are often much more expensive than abroad. The main reason is that we Chinese people tend to think foreign things are better and we are willi...
分类:
其他好文 时间:
2015-08-17 19:41:16
阅读次数:
139
在iOS开发中,需要用到一些回调值(从A到B,从B返回时把B中的值带回A中),其实方法也很多(delegate,block,nsuserdefaults等)。我想用NSUserDefaults回调一个我自定义的对象。于是我就直接去setobject这个对象,这是程序就出现crash,crash信息为
reason: 'Attempt to insert non-property list obj...
分类:
其他好文 时间:
2015-08-14 22:44:17
阅读次数:
137
今天写iOS程序时,突然报下面的错误。用storyboard构建页面,与vi ewController绑定控件的时候,手贱,多连了几次。‘NSUnknownKeyException’, reason: ‘[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key name.’解决办法:...
分类:
其他好文 时间:
2015-08-14 13:44:07
阅读次数:
307
Life is filled with regrets. Ask anyone around you what their regrets are and they usually have no difficulty coming up with many items on their “regret list.” And for some reason our twenties are ripe...
分类:
移动开发 时间:
2015-08-10 09:29:50
阅读次数:
288