Code Monkey home page Code Monkey logo

Comments (19)

eduardocallado avatar eduardocallado commented on August 18, 2024

Is there any particular reason you need or want to use SDWebImage to manage image downloads? Since AFNetworking works nice.

from idmphotobrowser.

sibljon avatar sibljon commented on August 18, 2024

It's simply a choice of your image caching engine. If you're already using SDWebImage elsewhere, it makes sense to keep using it (rather than having two separate caches).

from idmphotobrowser.

sibljon avatar sibljon commented on August 18, 2024

In general, I think a positive architectural change would be to factor out all of the cocoa pods dependencies of IDMPhotoBrowser via sub specs (as mentioned above), or via delegate patterns. This is particularly important for UI elements (DACircularProgressView), for app-specific UI consistency.

from idmphotobrowser.

kukat avatar kukat commented on August 18, 2024

+1

from idmphotobrowser.

smn8600 avatar smn8600 commented on August 18, 2024

+1

from idmphotobrowser.

sprint84 avatar sprint84 commented on August 18, 2024

+1 for SDWebImage

from idmphotobrowser.

ipeisong avatar ipeisong commented on August 18, 2024

+1

from idmphotobrowser.

DDany avatar DDany commented on August 18, 2024

+1

from idmphotobrowser.

PhillipApps avatar PhillipApps commented on August 18, 2024

+infinite

from idmphotobrowser.

sarbogast avatar sarbogast commented on August 18, 2024

For me the biggest advantage is that SDWebImage supports disk caching whereas AFNetworking only supports memory caching. Concretely, that means that big images don't get cached at all and cache doesn't survive app restart.

from idmphotobrowser.

ipeisong avatar ipeisong commented on August 18, 2024

maybe extract the cache interface, set default provider as AFNetworking but also allow other providers.

from idmphotobrowser.

hfdiao avatar hfdiao commented on August 18, 2024

+1

from idmphotobrowser.

robmontesinos avatar robmontesinos commented on August 18, 2024

I am interested. Thank you. How do you alter the podFile to implement this branch?

from idmphotobrowser.

sprint84 avatar sprint84 commented on August 18, 2024

@robmontesinos here's how you tell cocoapods to go fetch a fork instead of the original project:

pod 'IDMPhotoBrowser', :git => 'https://github.com/[username]/IDMPhotoBrowser.git'

from idmphotobrowser.

robmontesinos avatar robmontesinos commented on August 18, 2024

Thank you @sprint84!! I had different options to go from googling. I appreciate your super quick response!!

from idmphotobrowser.

isaced avatar isaced commented on August 18, 2024

+1 for SDWebImage

from idmphotobrowser.

tounaobun avatar tounaobun commented on August 18, 2024

+1

from idmphotobrowser.

maimake avatar maimake commented on August 18, 2024

+1

from idmphotobrowser.

Roshanzs avatar Roshanzs commented on August 18, 2024

+1

from idmphotobrowser.

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.