pinterest / PINRemoteImage

A thread safe, performant, feature rich image fetcher
Apache License 2.0
4.01k stars 511 forks source link

Fixes #502: NSHTTPURLResponse category added to PINRemoteImage targets. #503

Closed mc7h closed 5 years ago

mc7h commented 5 years ago

This fixes an issue where turning on ttlCache results in an unrecognized selector [NSHTTPURLResponse findMaxAge].

This is because NSHTTPURLResponse+MaxAge.m was not added to the PINRemoteImage or PINRemoteImage-tvOS target membership; it was added only to PINRemoteImageTests.

This PR adds the appropriate PINRemoteImage and PINRemoteImage-tvOS target membership for the category.

garrettmoon commented 5 years ago

@mc7h can you explain what this is addressing in more depth? Is it just exposing the category publicly?

mc7h commented 5 years ago

Done 👍