SDURLCache icon indicating copy to clipboard operation
SDURLCache copied to clipboard

XCode 4.3.1 warning

Open iutinvg opened this issue 12 years ago • 2 comments

"Category is implementing a method which will also be implemented by its primary class" for NSCachedURLResponse(NSCoder)

iutinvg avatar Mar 13 '12 03:03 iutinvg

I also have this warning since XCode 4.3. (actually 4.3.2)

Would it be possible to inherit from NSCachedURLResponse and redefine NSCoder methods ? storeToDisk: should then create an instance of MyCachedURLResponse to copy the cachedResponse.

dqueffeulouatw avatar Mar 28 '12 13:03 dqueffeulouatw

@dqueffeulouatw excellent suggestion which happens to be exactly the way we solved the issue here at Playhaven. We have a pull request pending: https://github.com/rs/SDURLCache/pull/29

...but please feel free to use our solution: https://github.com/playhaven/SDURLCache

samstewart avatar Mar 29 '12 01:03 samstewart