Latest 0.1.8
Homepage https://github.com/journeyyoung/GDNetworking-X
License MIT
Platforms ios 8.0
Dependencies AFNetworking
Frameworks CFNetwork
Authors

CI Status
Version
License
Platform

Installation

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

pod 'GDNetworking-X'

Author

journey, [email protected]

License

GDNetworking-X is available under the MIT license. See the LICENSE file for more info.

GDNetworking-X

使用方法

每一个独立的API请求类继承于GDBaseRequest父类。在子类中重写父类的方法以达到自定义的目的

– (NSDictionary *)requestHeaderFieldValueDictionary方法

添加请求头表单数据,复写此方法即给请求头添加表单数据,Instagram接口均需要复写此方法

– (BOOL)useInsta

return YES即发起Instagram请求

– (NSString *)instaUrl

复写此方法,传回Instagram基地址

– (NSString *)requestUrl

请求地址(必须复写)

设计

总体结构:离散式网络框架结构

BaseRequest类

所有个体请求都继承于此类

请求方式

  • GET
  • POST
  • PATCH
  • Delete

请求方式

持续更新

Latest podspec

{
    "name": "GDNetworking-X",
    "version": "0.1.8",
    "summary": "A short description of GDNetworking-X.It is a heavey network frame for iOS bases on Objective-C",
    "description": "Highly customizable discrete network framework",
    "homepage": "https://github.com/journeyyoung/GDNetworking-X",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "journey": "[email protected]"
    },
    "source": {
        "git": "https://github.com/JourneyYoung/GDNetworking-X.git",
        "tag": "0.1.8"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "GDNetworking-X/Classes/**/*",
    "dependencies": {
        "AFNetworking": []
    },
    "frameworks": "CFNetwork"
}

Pin It on Pinterest

Share This