Latest 1.4.0
Homepage https://github.com/Little-Captain/LCNetworking
License MIT
Platforms ios 7.0, osx 10.9
Dependencies AFNetworking
Authors

CI Status
Version
License
Platform

Requirements

  • iOS 7.0+
  • OS X 10.9+

Installation

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

pod "LCNetworking"

Author

Little-Captain, [email protected]

License

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

中文描述

环境要求

  • iOS 7.0+
  • OS X 10.9+

安装

pod "LCNetworking"

问题及解决方案

  • 默认的 AFNetworking 存在内存泄漏问题, 本框架采用单例对象解决内存泄漏问题

如何使用

  • 获取对象
// 单例对象
[LCHTTPSessionManager sharedInstance];
// 创建非单例对象, 不推荐
[LCHTTPSessionManager manager];
  • 发送请求 GET/POST 请求
[[LCHTTPSessionManager sharedInstance] request:...];
  • 上传文件
[[LCHTTPSessionManager sharedInstance] upload:...];

作者

Little-Captain, [email protected]

版权

查看 LICENSE 文件获取更多信息

Latest podspec

{
    "name": "LCNetworking",
    "version": "1.4.0",
    "summary": "LCNetworking u662fu4e00u4e2au57fau4e8e AFNetworking u7684u7f51u7edcu8bf7u6c42u6846u67b6",
    "description": "LCNetworking u662fu4e00u4e2au57fau4e8e AFNetworking u7684u7f51u7edcu8bf7u6c42u6846u67b6, u89e3u51b3u4e86 AFNetworking u4e2du5b58u5728u7684u5185u5b58u6cc4u6f0fu95eeu9898",
    "homepage": "https://github.com/Little-Captain/LCNetworking",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Little-Captain": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Little-Captain/LCNetworking.git",
        "tag": "1.4.0"
    },
    "platforms": {
        "ios": "7.0",
        "osx": "10.9"
    },
    "source_files": "LCNetworking/Classes/**/*",
    "dependencies": {
        "AFNetworking": []
    }
}

Pin It on Pinterest

Share This