Delphi 接口机制真相分类:DELPHI2012-03-29 14:412161人阅读评论(0)收藏举报delphiinterfaceintegerstringclassfunction接口(interface)在Delphi中是一个很有意思的东西。Delphi 3开始支持接口,从而形成了COM...
iphone开发出现警告:Sending 'ViewController *const __strong' to parameter of incompatible type 'id'
原因是没有在头文件实现相应协议。
解决方法是在头文件中
@interface 一行后面加上...
分类:
其他好文 时间:
2014-12-13 21:52:17
阅读次数:
814
看了一些资料,然后花一个多小时写的,有些句子可能不太对...
Material Design
Nowadays, softwares are everywhere we can see and the user interface of every single one of them is quite different. In some aspects, it’...
分类:
其他好文 时间:
2014-12-13 21:51:45
阅读次数:
383
在Javascript当中模仿接口的方法有三种:注释法,属性检查法和鸭式变形法。三者结合令人满意。 1.注释法 /*
interface Composite{ function add(child){}; function remove(child){}; function getChild(ind...
分类:
编程语言 时间:
2014-12-13 21:38:10
阅读次数:
217
//头文件 #import?<UIKit/UIKit.h>
@interface?UIImage?(Extension)
//传入图片的name.然后返回一个拉伸后的图片(新图片)
+(UIImage?*)resizableImage:(NSString?*)name;
@end //实现 #import?"UIImage+Ex...
分类:
移动开发 时间:
2014-12-13 20:38:09
阅读次数:
161
华为交换机端口聚合配置:1.创建eth-trunk口 interface eth-trunk 12.加入eth-trunk成员端口interface XXXeth-trunk 1查看:display trunkmembership eth-trunk1华三交换机端口聚合配置1.创建链路聚合组link...
分类:
其他好文 时间:
2014-12-13 16:21:29
阅读次数:
131
tcpdump [ -adeflnNOpqStvx ] [ -c count ] [ -F file ] [ -i interface ] [ -r file ] [ -ssnaplen ] [ -T type ] [ -w file ] [ 捕捉条件 ]常用选项:-S显示绝对的TCP序列号tcpd...
分类:
其他好文 时间:
2014-12-13 16:20:24
阅读次数:
272
命令样例: ①把要绑定team的端口添加到channel-group interface Te2/1/1 switchport switchport access vlan 123 switchport mode access no ip address channel-group 10 mode ...
分类:
系统相关 时间:
2014-12-13 06:13:07
阅读次数:
180
///-------1.1数据模型.h--------- #import?<Foundation/Foundation.h>
@interface?MLStatus?:?NSObject
@property(nonatomic,?copy)?NSString?*text;
@property(nonatomic,?copy)?NSString?*icon;
...
分类:
其他好文 时间:
2014-12-12 21:00:39
阅读次数:
273
#import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad{ [super viewDidLoad]; [self testDynamic...
分类:
移动开发 时间:
2014-12-12 16:09:27
阅读次数:
139