Comments (19)
Is there any particular reason you need or want to use SDWebImage to manage image downloads? Since AFNetworking works nice.
from idmphotobrowser.
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.
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.
+1
from idmphotobrowser.
+1
from idmphotobrowser.
+1 for SDWebImage
from idmphotobrowser.
+1
from idmphotobrowser.
+1
from idmphotobrowser.
+infinite
from idmphotobrowser.
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.
maybe extract the cache interface, set default provider as AFNetworking but also allow other providers.
from idmphotobrowser.
+1
from idmphotobrowser.
I am interested. Thank you. How do you alter the podFile to implement this branch?
from idmphotobrowser.
@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.
Thank you @sprint84!! I had different options to go from googling. I appreciate your super quick response!!
from idmphotobrowser.
+1 for SDWebImage
from idmphotobrowser.
+1
from idmphotobrowser.
+1
from idmphotobrowser.
+1
from idmphotobrowser.
Related Issues (20)
- s.dependency 'SDWebImage', '4.0.0' HOT 3
- Delegate
- crash HOT 3
- No 'long press detecting' any more?
- ForceHideStatusBar property doesn't work HOT 2
- Crash while custom IPhoto Protocol Implement
- Annoying flickering when dismissing the view
- actionButtonImage not shown. HOT 1
- Images are displayed from topleft side of the screen in inconsistent times HOT 1
- Double tap to zoom out on image does not work often. HOT 2
- @selector(doneButtonPressed:) memery leak HOT 1
- 在borwser显示后,卡住约莫有0.5秒,不能响应事件 HOT 2
- Crash in iOS 11 in method - (UIButton*)customToolbarButtonImage:(UIImage*)image imageSelected:(UIImage*)selectedImage action:(SEL)action
- pod 'IDMPhotoBrowser', '~> 1.11.3' 版本找不到"IDMUtils类
- 无非就是复制MWPhotoBrowser,依赖了4个其余框架,垃圾
- self.zoomScale == self.maximumDoubleTapZoomScale, this case never happens
- The way to solve image twinkling on iOS13
- MobileCoreServices has been renamed to CoreServices in Xcode 11.4
- 此框架已经没有人更新了,有更好的大家在这里记录一下
- Please add SPM Suport
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idmphotobrowser.