Sometimes it is obvious what the attributes of an object should be, but other times you have to make decisions. For examples, imagine you are designin...
分类:
其他好文 时间:
2014-09-25 17:09:17
阅读次数:
290
cannot load shared object file undefined symbol场景:共享库里引用了主程序一个符号,结构编译的时候没问题,运行时用 dlopen 打开共享库报上述错误原因:共享库使用的这个符号在主程序里没有任何调用,所以编译主程序时改符号没有被导出。需要在编译主程序时添...
分类:
其他好文 时间:
2014-09-25 16:08:09
阅读次数:
145
java语言的11个特性: java语言是一种简单的(Simple),面向对象的(Object-Oriented),分布式的(Distributed),解释性的(interpreted),健壮的(Robust),安全的(Secure),结构中立的(Architecture-neutral),可移植...
分类:
编程语言 时间:
2014-09-25 14:35:39
阅读次数:
253
BUG描述: Direct access to objective-c‘s isa is deprecated in favor of object_setClass() and object_getClass() 处理方法: 在target的Build Settings里面,将Build ActiveArchitecture Only改成YES 处理结...
分类:
Web程序 时间:
2014-09-25 14:33:19
阅读次数:
178
首先来说说As是干什么的:代码:void OnMouseEnter(object sender, MouseEventArgs e){ Ellipse ell = sender as Ellipse; //就它了 ell.Fill = new SolidColorBrush(Colors...
分类:
其他好文 时间:
2014-09-25 13:52:49
阅读次数:
176
【法线贴图原理】 如果法线处于世界坐标中的(world space),那称为world space normal。如果是处于物体本身局部坐标中的,那称为object space normal。 很容易想象,world space normal一旦从贴图里解压出来后,就可以直接用了,效率很高。但是.....
分类:
其他好文 时间:
2014-09-25 13:31:18
阅读次数:
261
本文转载至 http://blog.csdn.net/yesjava/article/details/80861851. mutating method sent to immutable object'从字面上理解:可变的消息发给了不可变的对象。比如NSDictionary类型的对象调用setVa...
分类:
移动开发 时间:
2014-09-25 13:18:48
阅读次数:
206
//复制: private void button1_Click(object sender, System.EventArgs e) { if(textBox1.SelectedText != "") Clipboard.SetDataObject(textBox1.SelectedTe...
什么是AOPAOP(Aspect-OrientedProgramming,面向方面编程),可以说是OOP(Object-Oriented Programing,面向对象编程)的补充和完善。OOP引入封装、继承和多态性等概念来建立一种对象层次结构,用以模拟公共行为的一个集合。当我们需要为分散的对象引入...
分类:
编程语言 时间:
2014-09-25 12:17:58
阅读次数:
359
同事发来2个语句,说语句1跑得慢,语句2很快就出结果。一执行,果然很慢。仔细发现,2个语句不等价。
语句1:
select l.*,o.object_name
from v$locked_object l left join all_objects o on l.object_id=o.object_id;
语句2:
select l.*,o.object_name
from v$...
分类:
其他好文 时间:
2014-09-25 12:15:08
阅读次数:
350