UIButton * btn = [[UIButton
alloc]initWithFrame:CGRectMake(100, 100, 100, 100)]; [btn
setTitle:@"default"forState:UIControlStateNormal]; btn.bac...
分类:
移动开发 时间:
2014-05-05 10:25:57
阅读次数:
514
UILabel是iOS开发中常用的一个组件,主要用来显示内容。UILabel的主要使用如下:```objc /*尺寸*/ CGRect labelRect =
CGRectMake(100, 100, 80, 40); /*初始化*/ UILabel *titleLabel = [[UILabel ...
分类:
移动开发 时间:
2014-05-05 10:23:04
阅读次数:
467
iOS Foundation 框架中 Mutable 的类们...
分类:
移动开发 时间:
2014-05-04 18:49:53
阅读次数:
493
更多可参考Linux输入子系统分析input子系统架构总结1、定义一个staticstructinput_dev结构体staticstructinput_dev*mybutton_dev;2、初始化时分配input_dev结构体mybutton_dev=input_allocate_device();//分配input_dev/*能产生的事件类型
1.#defineEV_SYN0x00/*表示设备支持所..
分类:
其他好文 时间:
2014-05-04 17:38:36
阅读次数:
471
DHCP服务器的搭建(服务器本身一般都设置为静态ip地址)准备工作:给服务器本身设置固定ip地址[root@localhost~]#cat/etc/sysconfig/network-scripts/ifcfg-eth0//配置文件#IntelCorporation82545EMGigabitEthernetController(Copper)DEVICE=eth0//设备名为eth0,第一块物理网..
分类:
其他好文 时间:
2014-05-04 17:25:28
阅读次数:
426