Giter Club home page Giter Club logo

zbnetwork's Introduction

整体思路简单明了,基于AFNetWorking3.1的封装,Get、Post、Put、Delete网络请求方式的数据获取,文件的下载,视频的上传下载,单图多图上传,网络监测。

参照BANetWorkManager的封装方式进行小小修改,为便于以后自己项目的使用。

  • 1 建立工程 ZBNetWork
  • 2 cd Desktop/Git/ZBNetWork/
  • 3 vim Podfile cocoaPods导入AFNetWorking(pod 'AFNetworking', '~> 3.1')
  • 4 在info.plist文件中双击 -> Open As -> SourceCode添加以下代码(在iOS 9中 苹果将原http协议改成了https协议 使用 TLS1.2 SSL加密请求数据,所以我们不能直接请求http协议下的数据了)

zbnetwork's People

Contributors

zbk1nger avatar

Watchers

 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.