Giter Club home page Giter Club logo

Comments (10)

schickling avatar schickling commented on May 22, 2024

This would be a huge improvement! 👍

from kingfisher.

schickling avatar schickling commented on May 22, 2024

Also is there a reason for just toggling between NSURLSessionTaskPriorityLow and NSURLSessionTaskPriorityDefault? The priority parameter is a float ranging from 0 to 1. This flexibility shouldn't be hidden.

from kingfisher.

schickling avatar schickling commented on May 22, 2024

screen shot 2016-01-02 at 12 25 26

from kingfisher.

ejoebstl avatar ejoebstl commented on May 22, 2024

Yes, I a agree. That feature would be very useful.

from kingfisher.

onevcat avatar onevcat commented on May 22, 2024

The original implementation hides the Float detail and tries to make things simpler. But I guess it is reasonable to give users more control on it by setting a value for the priority. However, changes on it might means API breaking. I will take a look to see if we could mark current lowPriority option as deprecated and introduce a new way to set initial priority for a download task soon.

And for changing the priority on air when downloading, the downloader APIs (as well as the image view extension APIs) are returning a image task. We could just expose the priority property of task object to support changing it after download task started. It will be implemented soon in next major version.

from kingfisher.

schickling avatar schickling commented on May 22, 2024

Really looking forward to this improvement!

from kingfisher.

onevcat avatar onevcat commented on May 22, 2024

Implemented in #194

from kingfisher.

schickling avatar schickling commented on May 22, 2024

Nice! Can't wait until it gets released!

from kingfisher.

onevcat avatar onevcat commented on May 22, 2024

It will be released later as a part of version 2.0.0.

from kingfisher.

schickling avatar schickling commented on May 22, 2024

Great!

from kingfisher.

Related Issues (20)

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.