资源简介
下厨房 源码。
代码片段和文件信息
// AFHTTPRequestOperation.m
// Copyright (c) 2011–2015 Alamofire Software Foundation (http://alamofire.org/)
//
// Permission is hereby granted free of charge to any person obtaining a copy
// of this software and associated documentation files (the “Software“) to deal
// in the Software without restriction including without limitation the rights
// to use copy modify merge publish distribute sublicense and/or sell
// copies of the Software and to permit persons to whom the Software is
// furnished to do so subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND EXPRESS OR
// IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER
// LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#import “AFHTTPRequestOperation.h“
static dispatch_queue_t http_request_operation_processing_queue() {
static dispatch_queue_t af_http_request_operation_processing_queue;
static dispatch_once_t onceToken;
dispatch_once(&onceToken ^{
af_http_request_operation_processing_queue = dispatch_queue_create(“com.alamofire.networking.http-request.processing“ DISPATCH_QUEUE_CONCURRENT);
});
return af_http_request_operation_processing_queue;
}
static dispatch_group_t http_request_operation_completion_group() {
static dispatch_group_t af_http_request_operation_completion_group;
static dispatch_once_t onceToken;
dispatch_once(&onceToken ^{
af_http_request_operation_completion_group = dispatch_group_create();
});
return af_http_request_operation_completion_group;
}
#pragma mark -
@interface AFURLConnectionOperation ()
@property (readwrite nonatomic strong) NSURLRequest *request;
@property (readwrite nonatomic strong) NSURLResponse *response;
@end
@interface AFHTTPRequestOperation ()
@property (readwrite nonatomic strong) NSHTTPURLResponse *response;
@property (readwrite nonatomic strong) id responseobject;
@property (readwrite nonatomic strong) NSError *responseSerializationerror;
@property (readwrite nonatomic strong) NSRecursiveLock *lock;
@end
@implementation AFHTTPRequestOperation
@dynamic response;
@dynamic lock;
- (instancetype)initWithRequest:(NSURLRequest *)urlRequest {
self = [super initWithRequest:urlRequest];
if (!self) {
return nil;
}
self.responseSerializer = [AFHTTPResponseSerializer serializer];
return self;
}
- (void)setResponseSerializer:(AFHTTPResponseSerializer *)responseSerializer {
NSParameterAssert(responseSerializer);
[self.lock l
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-01-04 04:20 XCFAPP-master\
文件 494 2016-01-04 04:20 XCFAPP-master\.gitignore
文件 1074 2016-01-04 04:20 XCFAPP-master\LICENSE
目录 0 2016-01-04 04:20 XCFAPP-master\Picture\
文件 146238 2016-01-04 04:20 XCFAPP-master\Picture\RAC.png
文件 2013 2016-01-04 04:20 XCFAPP-master\README.md
目录 0 2016-01-04 04:20 XCFAPP-master\XCFApp\
文件 392 2016-01-04 04:20 XCFAPP-master\XCFApp\Podfile
文件 2320 2016-01-04 04:20 XCFAPP-master\XCFApp\Podfile.lock
目录 0 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\
目录 0 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\
目录 0 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\
文件 4562 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFHTTPRequestOperation.h
文件 7513 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFHTTPRequestOperation.m
文件 20033 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFHTTPRequestOperationManager.h
文件 11757 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFHTTPRequestOperationManager.m
文件 15366 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFHTTPSessionManager.h
文件 12663 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFHTTPSessionManager.m
文件 8057 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFNetworkReachabilityManager.h
文件 9499 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFNetworkReachabilityManager.m
文件 1921 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFNetworking.h
文件 5261 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFSecurityPolicy.h
文件 12741 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFSecurityPolicy.m
文件 17700 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFURLConnectionOperation.h
文件 27595 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFURLConnectionOperation.m
文件 22746 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFURLRequestSerialization.h
文件 53365 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFURLRequestSerialization.m
文件 12184 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFURLResponseSerialization.h
文件 28299 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFURLResponseSerialization.m
文件 31377 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFURLSessionManager.h
文件 51157 2016-01-04 04:20 XCFAPP-master\XCFApp\Pods\AFNetworking\AFNetworking\AFURLSessionManager.m
............此处省略2542个文件信息
相关资源
- 机器学习实战 PDF超清晰中文+英文版
- opencv的 opencv_contrib-4.0.1源码
- 商城毕业设计包含源码和论文不会的
- 大数据项目源代码电影推荐系统Movi
- 深度学习框架PyTorch入门与实践高清扫
- Cadence高速电路板设计与仿真 信号与
- 树莓派win10安装资源包10月更新.zip
- Xilinx Zynq-7000 嵌入式系统设计与实现(
- 亲测华登区块鸡区块狗含教程完美运
- 医院系统(源码+设计文档)
- Windows Presentation Foundation程序设计指南
- QGIS2.8.9源码
- OpenCV 3和Qt5计算机视觉应用开发.zip
- 编译器源代码
- 极乐净土资源 UnityChan完整舞台效果
- liblas源码 可用于读取las点云数据等
- 海康相机车牌识别源码
- 仿饿了么外卖源码
- 骷髅头赛跑游戏源码
- unity+AR跳舞游戏项目源码
- 制作的flash的mv全套打包
- 我的系统正用着权限管理系统源码
- springmvc-学习指南(第二版)源码
- 含PCB和原理图、电源模块12V转5V/3.3V
- CSocket多线程聊天室源码
- 2018最新友价内核仿互站源码二次开发
- 全新富贵3电玩三代网站源码工具等亲
- 利物直播购物商城小程序V1.1.48后台源
- SSM框架,仿《简书》整站无后台管理
- 编译HiMobileCam_SDK需要的源码集.rar
评论
共有 条评论