-(UIButton *)shareButtonWithIcon:(NSString
*)iconName{ UIButton *button = [UIButtonbuttonWithType:UIButtonTypeCustom];
button.frame = CGRectMake(100.....
分类:
其他好文 时间:
2014-05-23 05:33:28
阅读次数:
221
iOS开发UI基础—手写控件,frame,center和bounds属性一、手写控件1.手写控件的步骤(1)使用相应的空间类创建控件对象(2)设置该控件的各种属性(3)添加控件到视图中(4)如果是button等控件,还需考虑控件的单击事件等(5)注意:View
Contollor和view的关系2....
分类:
移动开发 时间:
2014-05-23 04:56:23
阅读次数:
400
这些属性,内部都是结构体:CGRect CGPoint
CGFloat背景知识:所有的控件都是view的子类,屏幕就是一个大的view;每个view都有个viewController,它是view的管家,每个view对应着一个viewController,来管理view。frame
& bounds...
分类:
移动开发 时间:
2014-05-23 04:18:38
阅读次数:
338
1 // 2 // LWTViewController.m 3 // 纯代码位移和伸缩作业 4 //
5 // Created by apple on 14-5-20. 6 // Copyright (c) 2014年 lwt. All rights
reserved. 7 ...
分类:
其他好文 时间:
2014-05-23 04:03:01
阅读次数:
467
因特网协议栈Internet protocol stack:应用层Application
layer、运输层Transport layer、网络层Network layer、链路层Data link layer、物理层Physical
layer7层ISO OSI参考模型:应用层、表示层Presen...
分类:
Web程序 时间:
2014-05-22 15:21:38
阅读次数:
312
//http://www.cnblogs.com/cgli/archive/2011/04/09/2010497.html
System.Net.ServicePointManager.Expect100Continue = false; string param = "u=1...
分类:
Web程序 时间:
2014-05-21 19:58:09
阅读次数:
585
Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMapCollection接口
Collection是最基本的集合接口,一个Collection代表一组Object,即C....
分类:
其他好文 时间:
2014-05-21 18:21:04
阅读次数:
219
#include
#include
#include
#define STACK_INIT_SIZE 100
#define STACKINCREMENT 10
#define OVERFLOW -1
#define OK 1
#define ERROR 0
typedef int Status;
typedef int SElemType;
typedef struct
{...
分类:
其他好文 时间:
2014-05-21 16:31:38
阅读次数:
215
BSSID的值是路由器无线MAC地址,具体相信IEEE 802.11规范。
MAC地址在路由器上存储位置一半为Factory/factory分区的第四个字节(从0开始),小端字节序。
The BSSID included in the MAC Header transmitter
address field of a Beacon frame when the multiple BSSID...
分类:
其他好文 时间:
2014-05-21 09:59:36
阅读次数:
326
#include "STC12C5A.H"
#define TIMER_RELOAD() {TL0=0x00;TH0=0xC4;}//使能T/C
初始10ms
#define MAX_TASKS 8 //任务槽最大个数.
unsigned char idata task_stack[MAX_TASKS][2];//任务堆栈. PC指针为16位,需2个字节。
unsi...
分类:
编程语言 时间:
2014-05-21 08:12:12
阅读次数:
285