Giter VIP home page Giter VIP logo

rsweb's Introduction

RSWeb

RSWeb is utility code — all Swift — for downloading things from the web. It builds a Mac framework and an iOS framework.

Easy way

See OneShotDownload for a top-level download function that takes a URL and a callback. The callback takes Data, URLResponse, and Error parameters. It’s easy.

Slightly less easy way

See DownloadSession and DownloadSessionDelegate for when you’re doing a bunch of downloads and you need to track progress.

Extras

HTTPConditionalGetInfo helps with supporting conditional GET, for when you’re downloading things that may not have changed. See HTTP Conditional Get for RSS Hackers for more about conditional GET. This is especially critical when polling for changes, such as with an RSS reader.

MimeType could use expansion, but is useful for some cases right now.

MacWebBrowser makes it easy to open a URL in the default browser. You can specify whether or not to open in background.

rsweb's People

Contributors

abilops avatar brentsimmons avatar danielpunkass avatar glessard avatar heckj avatar jbeker avatar kielgillard avatar vincode-io avatar wevah 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.