Coder Social home page Coder Social logo

jxdatatransmission's Introduction

This is a tool to help people download files from server

What did I do?

  1. Three demos to show how to use NSURLConnection, NSURLSession and NSURLConnectionManager ,which is customer encapulastion manager clasee based on NSURLConnection class, to download fils from server.
  2. NSURLConnectionManager can help us manges multiple download tasks, start and pause download,backgroud download.

How to use it?

Please feel free to use these codes, if you want to use NSURLConnectionManger, then you should add NSURLConnectionManager.h, NSURLConnectionManager.m, NSURLConnectionDownloader.h and NSURLConnectionDownloader.m into your project. And, please import NSURLConnectionManager.h into your class.

What will I do next?

I will encapulaste another customer manager class which is based on NSURLSession to download files. And I will try to add multiple threads download feature into this project.

License

This project is availabel under MIT License.

More Information

If you have any interested in this project, and want to konw more information about it please read this article浅谈iOS多任务断点下载

I hope this project can give you a little bit help and it may have many problems about this project, so I am very welcome someone can give me good suggestion.Thanks!

jxdatatransmission's People

Contributors

xiangfly11 avatar

Stargazers

Mr__怪蜀黍 avatar

Watchers

 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.