1、.h文件中声明代理 @protocol ExchangePointArrayDelegate
-(void)exchangePointsIn:(NSArray *)pointarray; //用来传递exchangePoints这个数组的代理方法
@end
@property (weak , nonatomic) id delegate; 声明这个delegate必须使用weak...
分类:
移动开发 时间:
2015-07-20 16:35:00
阅读次数:
127
//定时输出ob_end_flush();set_time_limit(0);echo '============开始=============';flush();sleep(1);for($i=1;$i'; flush(); sleep(1);}flush();sleep(1);echo '=.....
分类:
Web程序 时间:
2015-07-20 14:24:13
阅读次数:
116
SELECT (case when a.colorder=1 then d.name else null end) 表名, a.colorder 字段序号,a.name 字段名, (case when COLUMNPROPERTY( a.id,a.name,'IsIdentity')=1 the.....
分类:
数据库 时间:
2015-07-20 14:14:50
阅读次数:
112
android:ellipsize="start" 省略号在开头 android:ellipsize="middle" 省略号在中间 android:ellipsize="end" 省略号在结尾 android:ellipsize="...
分类:
移动开发 时间:
2015-07-20 12:32:19
阅读次数:
138
first:class Solution{
public: ListNode* removeNthFromEnd(ListNode* head, int n)
{
if (head==NULL)
{
return NULL;
} ListNode* ptmp = head;...
分类:
其他好文 时间:
2015-07-20 10:53:28
阅读次数:
104
nova network-create demo-net --bridge br100 --multi-host T --gateway 192.168.3.252 --dns1 202.102.192.68 --allowed-start 192.168.3.60 --allowed-end 19...
分类:
其他好文 时间:
2015-07-20 10:48:49
阅读次数:
129
#import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; //1.添加一个视图 UIVie...
分类:
移动开发 时间:
2015-07-20 01:04:17
阅读次数:
158
//距离传感器,以注册通知的形式来实现的#import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]....
分类:
移动开发 时间:
2015-07-19 21:42:16
阅读次数:
212
特殊情况『1』内部类不会自动引用其外部类的父类# Info = "顶层info"class Father
Info = "父类Info"
# puts Info
endclass Son < Father
# Info = "子类Info"
# puts Info class Inner
# Info = "内部类Info"
puts Info
end
end...
分类:
其他好文 时间:
2015-07-19 13:25:39
阅读次数:
125
Simple add() method is used for adding an element at the end of the list however there is another variant of add method which is used for adding an el...
分类:
编程语言 时间:
2015-07-19 11:39:02
阅读次数:
128