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

XCode 4.3.1 warning #25

Open
iutinvg opened this issue Mar 13, 2012 · 2 comments
Open

XCode 4.3.1 warning #25

iutinvg opened this issue Mar 13, 2012 · 2 comments

Comments

@iutinvg
Copy link

iutinvg commented Mar 13, 2012

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

@dqueffeulouatw
Copy link

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.

@samstewart
Copy link

@dqueffeulouatw excellent suggestion which happens to be exactly the way we solved the issue here at Playhaven. We have a pull request pending:
#29

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

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

3 participants