@interface MainViewController : UIViewController @property (strong, nonatomic) UIButton *myBtn; @property (strong, nonatomic) UISlider *mySlider...
分类:
其他好文 时间:
2014-07-18 21:18:24
阅读次数:
179
【boxing & unboxing】 Boxing is the process of converting avalue typeto the typeobjector to any interface type implemented by this value type.When the ....
分类:
其他好文 时间:
2014-07-18 17:24:23
阅读次数:
240
UIImageView,顾名思义,是用来放置图片的。使用Interface Builder设计界面时,当然可以直接将控件拖进去并设置相关属性,这就不说了,这里讲的是用代码。1、创建一个UIImageView:创建一个UIImageView对象有五种方法:UIImageView *imageView1...
分类:
移动开发 时间:
2014-07-18 16:20:53
阅读次数:
248
用过plsql的都知道,双击表名默认是【展开/关闭】。
习惯了MySql Workbench或者Sqlserver Management Studio等管理工具的可能不太适应。
直接上解决办法:
Tools -> Preferences -> User
Interface -> Browser -> Object
type(Table) -> Double-click
Actio...
分类:
数据库 时间:
2014-07-18 15:10:55
阅读次数:
271
```objc#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *action;@end@implementation ...
分类:
其他好文 时间:
2014-07-18 14:26:27
阅读次数:
247
```objc#import "ViewController.h"int threadNumber = 0;int newThingNumber = 0;@interface ViewController ()@end@implementation ViewController- (void)vie...
分类:
其他好文 时间:
2014-07-18 14:23:25
阅读次数:
229
实验环境:安装:yuminstallcorosyncpacemaker-y复制配置文件cpcorosync.conf.examplecorosync.confvimcorosync.conf编辑配置文件:compatibility:whitetank是否兼容0.8版本的corosynctotem{定义集群之间心跳信息传递层version:2----版本号secauth:on---是否启用安全认证thread..
分类:
其他好文 时间:
2014-07-18 13:18:51
阅读次数:
353
JNDI 全称:Java Name and Directory Interface
,中文名:Java命名和目录服务接口
用途:
将【名称】和【位置|服务|信息|资源】绑定,从而通过【名称】即可访问【位置|服务|信息|资源】,进而在分布式计算环境中获取共享的【组件和资源】
功能:
1.将【名称】和【位置|服务|信息|资源】绑定
2.通过【名称】对【位置|服务|信息|资源】进...
分类:
其他好文 时间:
2014-07-18 12:33:44
阅读次数:
221
1.配置/etc/network/interfaces#静态IP地址1 auto lo 2 iface lo inet loopback #loopback虚拟网络设备,使TCP/IP能以127.0.0.1这个IP地址访问你电脑本身3 # The primary network interface ...
分类:
其他好文 时间:
2014-07-17 23:14:15
阅读次数:
308
1.什么是aidl:aidl是 Android Interface definition language的缩写,一看就明白,它是一种android内部进程通信接口的描述语言,通过它我们可以定义进程间的通信接口
icp:interprocess communication :内部进程通信
2.既然aidl可以定义并实现进程通信,那么我们怎么使用它呢?文档/android-sdk/docs...
分类:
移动开发 时间:
2014-07-17 19:16:35
阅读次数:
272