假设我们在 Objective C
中向一个对象发送它无法处理的消息,会出现什么情况呢?我们知道发送消息是通过 objc_send(id, SEL, ...) 来实现的,它会首先在对象的类对象的
cache,method list 以及父类对象的 cache, method list 中依次查找 S...
分类:
其他好文 时间:
2014-06-07 10:43:35
阅读次数:
228
应该放在表格里面提交的应该放在 form --熟悉 name -名称
action="longin.php"(提交到那里) method="get ,post" title-说明文件input type = pas
--name="这里写用户名"复选框 kanshu单选 男-------必须是在同一...
分类:
Web程序 时间:
2014-06-06 16:28:06
阅读次数:
231
1)寻找引用点时,最好使用工具,然后再人工review。在看到这个问题的时候,我估计应该是很久之前了。现在用IDE。这个要方便很多。
2)重新组织函数的方法和目标。 其实目标很简单。就是消灭长函数。 常用方法 Extract method Inline Method Replace Temp
wit...
分类:
其他好文 时间:
2014-06-05 16:51:44
阅读次数:
254
This is the beginning of my plan. Or this is a
manifesto, a motivation for me. Note what I read, good or bad, old or new, Tao
or method. Maybe sometim...
分类:
其他好文 时间:
2014-06-05 15:57:51
阅读次数:
373
這一篇要說明的是,如何使用 JDK 7 推出的 NIO 2 進行 TCP
程式開發,底下的類別圖只是其中較重要的部份,要詳細了解各類別關係,及各類別的 method,請查閱 API Documents。NIO 2 同時提供
blocking 和 non-blocking 的模式,blocking 模...
分类:
其他好文 时间:
2014-06-04 16:38:07
阅读次数:
306
ASP.NET MVC学前篇之Lambda表达式、依赖倒置前言
随着上篇文章的阅读,可能有的朋友会有疑问,比如(A.Method(xxx=>xx>yy);)类似于这样的函数调用语句,里面的xxx=>xx>yy这些到底是怎么用的?依赖倒置原则的实现也会在本篇幅的最后来粗略的讲解一下。
本篇没有核心的主...
分类:
Web程序 时间:
2014-06-04 16:21:13
阅读次数:
244
struts就是充当拦截器(过滤器)的作用。在web.xml配置过滤器, 1 package
cn.itcast.framework.core; 2 3 import java.io.IOException; 4 import
java.lang.reflect.Method; 5 im...
分类:
其他好文 时间:
2014-06-03 14:33:00
阅读次数:
294
占没有查到替换的方法,先记着!The method
startManagingCursor(Cursor) from the type Activity is deprecatedThe constructor
SimpleCursorAdapter(Context, int, Cursor, St...
分类:
移动开发 时间:
2014-06-02 16:05:59
阅读次数:
309
Agile software developmentAgile software
developmentis a group ofsoftware development methodsbased oniterative and
incremental development, in which r...
分类:
其他好文 时间:
2014-06-02 10:18:52
阅读次数:
201
myeclipse 10 载入新的项目报错Cannot return from outside
a function or method解决方法:方法一:window -->preferences -->myeclipse
-->validation -->javascript validator ...
分类:
系统相关 时间:
2014-06-02 08:47:49
阅读次数:
332