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

Allow user to select EGOv1 style PNG only caching #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

warrenburton
Copy link

We have a enterprise endpoint which was causing a throw on most invocations of [NSKeyedUnarchiver unarchiveObjectWithFile:

ARC leaks on Exception throws so each of the many throws was eventually shutting down App

Dont know why inbound data (a mix of PNGs and JPG) wasn't archiving correctly and cant change the endpoint data so I just restored the original EGOv1 UIImagePNGRepresentation(anImage) storage for this.

  • (UIImage_)imageForKey:(NSString_)key
  • (void)setImage:(UIImage_)anImage forKey:(NSString_)key
  • (void)setImage:(UIImage_)anImage forKey:(NSString_)key withTimeoutInterval:(NSTimeInterval)timeoutInterval

…gnificant numbers of decode exceptions on iOS
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

Successfully merging this pull request may close these issues.

1 participant