1.依赖注入分为:设置注入和构造函数注入 1.1 ?设置注入的属性可以是基本类型,也可以是对象关键配置示例如下: ?<bean ?id="" ?class=""> ? ? <property ? name="age" ?value="28"/> ?? ? ? <prope...
分类:
编程语言 时间:
2014-11-03 11:40:31
阅读次数:
224
我的boost为1.56而不是1.55 boost在xml的例子给出了一段写xml文件的代码,我简化如下:void debug_settings::save(const std::string &filename){ using boost::property_tree::ptree; ...
分类:
其他好文 时间:
2014-11-02 23:47:14
阅读次数:
537
C#与java,C++中的这些基本概念略有不同。因为容易混淆,所以这里总结下区别。希望能对初学者有帮助!...
一、实现效果 二、实现代码1.数据模型部分TXFriendGroup.h文件 1 #import 2 3 @interface TXFriendGroup : NSObject 4 @property (nonatomic, copy) NSString *name; 5 /** 6 ...
分类:
移动开发 时间:
2014-11-02 17:49:24
阅读次数:
124
一伪类语法: selector : pseudo-class {property: value} 提示:伪类名称对大小写不敏感。 与 CSS类搭配使用selector.class : pseudo-class {property: value}例子:a:link {color: #FF0000} ....
分类:
Web程序 时间:
2014-11-02 12:02:16
阅读次数:
287
围绕底边中点旋转
UIView本身是支持旋转的,可以用UIView.transform属性实现旋转。
The origin of the transform is the value of the center property, or the layer’s anchorPoint property if it ...
分类:
移动开发 时间:
2014-11-01 17:50:05
阅读次数:
694
1)sqlmap.xml中的配置如下:需要注意的事项:a)parameterMap中对应的属性property的值要和存储过程中的名字一样,并且对应的顺序要和存储过程中的顺序一致,否则可能无法获取对应的返回值;<!--调用packaget的存储过程的参数--><parameterMapid="proProductDzProcParam..
分类:
其他好文 时间:
2014-10-31 19:20:39
阅读次数:
183
反射的具体应用,自动绑值获取属性列表 1 - (NSArray*)propertyKeys 2 { 3 unsigned int outCount, i; 4 objc_property_t *properties = class_copyPropertyList([self cla...
分类:
移动开发 时间:
2014-10-31 18:42:27
阅读次数:
335
<?xml?version="1.0"?>
<?xml-stylesheet?type="text/xsl"?href="configuration.xsl"?>
<!--?Put?site-specific?property?overrides?in?this?file.?-->
<configuration>
<property>
<name>plugi...
分类:
其他好文 时间:
2014-10-31 13:59:24
阅读次数:
135
在做iOS开发时,经常用到到plist文件, 那plist文件是什么呢? 它全名是:Property List,属性列表文件,它是一种用来存储串行化后的对象的文件。属性列表文件的扩展名为.plist,因此通常被称为plist文件。文件是xml格式的。Plist文件通常用于储存用户设置,也可以用于.....
分类:
移动开发 时间:
2014-10-31 11:40:17
阅读次数:
173