Latest 0.0.2
Homepage https://github.com/SuyChen/SCNetWork
License MIT
Platforms ios 9.0, requires ARC
Dependencies AFNetworking, YYCache
Authors

基于AFN3.2.1网络请求封装,实现网络请求,上传文件,上传多图片,下载功能。

demo

效果图

特点

  • 适用于大部分网络请求使用场景(请求,上传,下载,缓存)
  • 全局配置所有请求的公共信息,适应不同需求
  • 对网络请求做拦截,统一处理业务逻辑
  • 支持自定义缓存策略,支持设置缓存有效时间

安装说明

CocoaPods

在你工程的 Podfile 文件中添加如下一行,并执行 pod installpod update

pod 'SCNetWork', '~> 0.0.2'

注意: XMNetworking 会自动依赖 AFNetworkingYYCache ,所以你工程里的 Podfile 文件无需再添加 。

联系

Email:[email protected]
Wechat:v268743

License

The SCJigsawPuzzle project is available for free use, as described by the LICENSE (Apache 2.0).

Latest podspec

{
    "name": "SCNetWork",
    "version": "0.0.2",
    "summary": "u57fau4e8eAFN3.2.1u7f51u7edcu8bf7u6c42u5c01u88c5uff0cu5b9eu73b0u7f51u7edcu8bf7u6c42uff0cu4e0au4f20uff0cu4e0bu8f7du529fu80fdu3002u57fau4e8eYYCacheuff0cu5b9eu73b0u6570u636eu7f13u5b58u3002",
    "homepage": "https://github.com/SuyChen/SCNetWork",
    "license": "MIT",
    "authors": {
        "SuyChen": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/SuyChen/SCNetWork.git",
        "tag": "0.0.2"
    },
    "source_files": "SCNetworkHelper/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "AFNetworking": [
            "~> 3.2.1"
        ],
        "YYCache": [
            "~> 1.0.4"
        ]
    }
}

Pin It on Pinterest

Share This