Latest 0.3.0
Homepage https://github.com/faimin/ZDAFNetWorkHelper
License MIT
Platforms ios 7.0, requires ARC
Dependencies AFNetworking
Authors

License MIT 
Language 

ZDAFNetWork

利用AFNetworkingGETPOST请求封装到了一个方法中


- (nullable NSURLSessionDataTask *)requestWithURL:(nonnull NSString *)URLString
                                           params:(nullable id)params
                                       httpMethod:(HttpMethod)httpMethod
                                          success:(nullable SuccessHandle)successBlock
                                          failure:(nullable FailureHandle)failureBlock;                                          

Latest podspec

{
    "name": "ZDAFNetWorkHelper",
    "version": "0.3.0",
    "summary": "Package AFNetWorking's(~>3.0) GET && POST request",
    "homepage": "https://github.com/faimin/ZDAFNetWorkHelper",
    "license": "MIT",
    "authors": {
        "Zero.D.Saber": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/faimin/ZDAFNetWorkHelper.git",
        "tag": "0.3.0"
    },
    "source_files": [
        "ZDAFNetWorkHelper",
        "ZDAFNetWorkHelper/*.{h,m}"
    ],
    "requires_arc": true,
    "dependencies": {
        "AFNetworking": [
            "~>3.0.1"
        ]
    }
}

Pin It on Pinterest

Share This