Skip to content

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