Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example for caching images by key #109

Open
apwelsh opened this issue Jan 28, 2017 · 0 comments
Open

Example for caching images by key #109

apwelsh opened this issue Jan 28, 2017 · 0 comments

Comments

@apwelsh
Copy link

apwelsh commented Jan 28, 2017

It appears that it is possible to commit computed images to the cache, but to receive them back from the cache, seems flawed. It seems like I need to already have the computed image before I try to retrieve the image from the cache. (so that it can save it to the cache, which is backward).
So, can you provide a simple example, how I would retrieve a cached raw UIImage into a UIImageView, and if not found in cache call my render function to computer the new UIImage, and save returned image to cache?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant