iOS中使用block进行网络请求回调
摘要:
PS:简单的使用block进行网络请求回调,非常的方便,避免了delegate的繁琐HttpRequest.h//// HttpRequest.h// UseBlockCallBack//// Created by Michael on 2/13/14.// Copyright (c) 2014 EIMS. All rights reserved.//#import typedef void (^FinishBlock)(NSString *dataString);@interface HttpRequest : NSObject@property (strong, nonatomic... 阅读全文
posted @ 2014-02-14 09:49 lonelysoul 阅读(540) 评论(0) 推荐(1) 编辑