摘要:
//1 声明block//2 实现block//3 调用block//声明函数指针//void (*ptest1) (void)//声明block,要指向匿名函数void (^block1)(void);int (^block2)(int a,int b);int (^block3)(int a,i... 阅读全文
posted @ 2015-05-06 17:37
jsonUserList
阅读(215)
评论(0)
推荐(0)
摘要:
#import #import "DataManagerProtocol.h"@interface DataManager : NSObject{ //加载网络数据 NSURLConnection *_connection; //存储网络数据 NSMutableDat... 阅读全文
posted @ 2015-05-06 16:56
jsonUserList
阅读(134)
评论(0)
推荐(0)
摘要:
#import @interface Student : NSObject@property(retain,nonatomic)NSString *name;@property(assign,nonatomic)int age;//设计单利模式//+(类名*)shareXXX// de... 阅读全文
posted @ 2015-05-06 14:53
jsonUserList
阅读(235)
评论(0)
推荐(0)