Comments (1)
I'm not entirely sure... the implications of caching GIFs are more significant than just caching images because of their potential size. At the very least, one needs to be able to turn caching off.
I implement a simple NSCache for the reusable GIFs I add to OLImageViews as a property of my view controller. Doing the same thing by default would mean adding a singleton to the OL classes unless you wanted to make a OLImageCache class... then do a setCacheObject: for each OLImage object you have? Seems like that route is as no less work than making your own NSCache.
from olimageview.
Related Issues (20)
- GIFs freeze while scrolling HOT 1
- Include improved AFNetworking category on the CocoaPod
- When use OLImageView in AVAssetExportSession as animationTool, gif animation is slow HOT 2
- Is OLImage released? HOT 3
- Does Not Build For iPhone 5S HOT 2
- A bug after dealloc OLImageView and solution HOT 1
- Release 1.2.1 HOT 1
- Large Gifs and iOS crashing HOT 5
- Zooming causes image to pause HOT 1
- iOS7 the memory problem HOT 3
- Possibly a memory leak HOT 1
- Memory issues with caching frames HOT 2
- When working with AFNetworking, there will be a retain cycle. HOT 1
- OLImageView/OLImage.m:117:49: Property 'nativeScale' not found on object of type 'UIScreen *' HOT 3
- Ops! I got o roadblock when I try to mix the olimageview.layer with a video
- Image rendered too large HOT 1
- [OLImageSourceArray _objectAtIndex:] CGImageSourceCreateImageAtIndex crash randomly HOT 1
- Please bump tiny to 1.5.1 and push new pod HOT 5
- It doesn't work with AFN 3.0+?
- HowTochangeDifferentGif
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 olimageview.