Git Product home page Git Product logo

hybnetworking's Introduction

HYBNetworking

基于AFNetworking封装的网络层

#version1.1

  • 升级AFNetworking到2.5.4
  • 新增带上传进度的API和带进度的下载API,详细请阅读下面的博文
  • 支持pod: pod 'HYBNetworking', '~> 1.1'

#version 1.1.1

  • 修改原来默认URLEncode由YES改为NO。

#version 1.1.2

  • 追加text/plain格式

#version 1.1.3

  • 追加两个兼容性API,图片上传时可额外上传参数

#version 2.0.0

  • 升级AFNetworking到3.0,基于AFNetworking3.0.4而写的版本
  • 支持iOS7.0及其以上版本

#version 2.0.1

  • fix pod安装2.0.0却是1.1.3版本的问题

#version 3.0.0

  • 简化API,以降低使用的要求
  • 增加GET/POST数据缓存、获取缓存大小、清空缓存功能
  • 接口增加刷新缓存功能
  • 增加取消所有请求、取消单个请求功能
  • 格式化打印日志
  • 增加对手动取消请求接口是否在失败时还回调的控制
pod 'HYBNetworking', '~>3.0.0'

若要支持iOS6.0,可使用前一版本:

pod 'HYBNetworking', '~>1.1.3'

#文章讲解 笔者的个人博客发表的讲解的文章:基于AFNetworkgin2.5.2的网络封装

另外,最新更新到基于AFN3.0版本的,请阅读:基于AFNetworking3.0的网络封装

#关注我


如果在使用过程中遇到问题,或者想要与我交流,可加入有问必答QQ群:324400294
关注微信公众号:iOSDevShares
关注博客:http://www.henishuo.com/

#LISENCE

MIT

hybnetworking's People

Contributors

coderjackyhuang avatar

Watchers

Michael.Yang avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.