Latest 0.1.1
Homepage https://github.com/Ginxx/YYURLRequest
License MIT
Platforms ios 8.0
Dependencies AFNetworking, YYModel, YYCache
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

YYURLRequest is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'YYURLRequest'

Usage

Import

#import <YYURLRequest/YYURLRequest.h>

Request with cache

YYURLRequest *request = [YYURLRequest requestWithBaseURL:[NSURL URLWithString:@""] path:@"" parameters:@{}];
request.cache(^(id response) {

}).then(^(id response) {

}).catch(^(NSError *error) {

});

Request without cache

request.then(^(id response) {

}).catch(^(NSError *error) {

});

Author

gaoX, [email protected]

License

YYURLRequest is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "YYURLRequest",
    "version": "0.1.1",
    "summary": "A ObjectiveC network library.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/Ginxx/YYURLRequest",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "G-Xi0N": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Ginxx/YYURLRequest.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "YYURLRequest/Classes/**/*",
    "dependencies": {
        "AFNetworking": [],
        "YYModel": [],
        "YYCache": []
    }
}

Pin It on Pinterest

Share This