@interface AppDelegate ()
{
UIView *_containerView;
UILabel *_lable;
CGFloat _fristNum;
CGFloat _secondNum;
NSInteger _tempNum;
NSMutableString *_str;
}
@end...
分类:
其他好文 时间:
2014-08-22 10:58:46
阅读次数:
270
自定义TextField的删除按钮#import @interface CustomTextField : UITextField@property(strong,nonatomic)NSString * alwaysShowStr;@end@interface CustomTextField ()...
分类:
其他好文 时间:
2014-08-22 10:42:06
阅读次数:
145
接口继承接口继承(inheritance)与类继承很类似,就是以被继承的interface为基础,增添新增的接口方法原型。比如,我们以Cup作为原interface:interface Cup{ void addWater(int w); void drinkWater(int w);}我们在继承C...
分类:
编程语言 时间:
2014-08-22 10:32:15
阅读次数:
159
微软的Windowsserver2012已经能支持LACP链路聚合了,由于使用链路聚合后可以实现线路的冗余以及带宽增加,在这里我用一台思科的2960做了一个测试,供有兴趣的朋友参考。实验准备:思科交换机2960一台、安装server2012的服务器一台,内有两个千兆网卡,网线两根。步骤:1、思科..
分类:
Windows程序 时间:
2014-08-22 02:55:16
阅读次数:
11590
首先要创建AddressContact类,#import<Foundation/Foundation.h>//---------AddressContact的.h文件
@interfaceAddressContact:NSObject
{
NSString*_name;
NSString*_sex;
NSString*_phone;
NSString*_address;
NSString*_groupName;
NSInteger_age;
}
-(insta..
分类:
其他好文 时间:
2014-08-22 02:52:46
阅读次数:
168
The following options can be placed in a kickstart file. If you prefer to use a graphical interface for creating your kickstart file, use the Kickstart Configurator application. Refer to Chapter 29...
分类:
其他好文 时间:
2014-08-21 22:58:06
阅读次数:
739
OC -- 第一个类
类名:Car
属性:轮胎个数、时速
行为:跑
完整写一个类:类的声明和实现
1. 类的声明
代码:
// NSObject 再Foundation框架中
#import
// NSObject 基类
@interface Car : NSObject
{
// 声明对象属性(成员变量,默认会初始化为0)
...
分类:
其他好文 时间:
2014-08-21 22:49:55
阅读次数:
205
本章描述:对于Protocol的封装 package?com.digitalpebble.storm.crawler.fetcher;
import?com.digitalpebble.storm.crawler.util.Configuration;
public?interface?Protocol?{
????public?Protoco...
分类:
其他好文 时间:
2014-08-21 19:45:55
阅读次数:
147
StorageManagerStorageManager is the interface to the systems storage service. The storage manager handles storage-related items such as Opaque Binary ...
分类:
移动开发 时间:
2014-08-21 19:17:24
阅读次数:
262
经过封装,产品隐藏了内部细节,只提供给用户接口(interface)。接口是非常有用的概念,可以辅助我们的抽象思考。在现实生活中,当我们想起某个用具的时候,往往想到的是该用具的功能性接口。比如杯子,我们想到加水和喝水的可能性,高于想到杯子的材质和价格。也就是说,一定程度上,用具的接口等同于用具本身。...
分类:
编程语言 时间:
2014-08-21 19:00:04
阅读次数:
222