Latest 0.0.2
Homepage https://github.com/faimin/ZAFNetWorkHelper
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": "ZAFNetWorkHelper",
    "version": "0.0.2",
    "summary": "The package of requests including GET && POST with AFNetWorking",
    "homepage": "https://github.com/faimin/ZAFNetWorkHelper",
    "license": "MIT",
    "authors": {
        "Bourne": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/faimin/ZAFNetWorkHelper.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "ZAFNetWorkHelper",
        "ZAFNetWorkHelper/*.{h,m}"
    ],
    "requires_arc": true,
    "dependencies": {
        "AFNetworking": [
            "~>2.0"
        ]
    }
}

Pin It on Pinterest

Share This