acerbetti / AFCSVRequestOperation

AFNetworking Extension for the CSV format
MIT License
29 stars 4 forks source link

In Xcode 6.1.1 can't compile #2

Open zizicici opened 9 years ago

zizicici commented 9 years ago

ARC Semantic Issue No known class method for selector 'canProcessRequest:'

danurna commented 9 years ago

There is no 'canProcessRequest:' method anymore in AFNetworking's superclass. I guess this Operation is only working with AFNetworking 1.x anymore, as they changed a lot with AFNetworking 2.x.

To integrate CSV parsing into the new AFNetworking version it is probably necessary to write a custom serializer for that. Maybe I'll come up with something...

danurna commented 9 years ago

I forked this repo but saw that there is no way to modify the existing class to make it compatible with AFNetworking 2.x. Therefore I've created my own repository (https://github.com/danurna/AFCSVResponseSerializer) where you can find a serializer class. As I took most of the parsing part from your code I hope that is fine for you, @acerbetti?

acerbetti commented 9 years ago

Fine with me, sorry for the lack of responses, but I'm trying to meet some deadlines...

I'm aware this project is only compatible with AFNetworking 1.x


It's choice - not chance - that determines our destiny.

On Fri, Mar 13, 2015 at 4:30 PM, Daniel Witurna notifications@github.com wrote:

I forked this repo but saw that there is no way to modify the existing class to make it compatible with AFNetworking 2.x. Therefore I've created my own repository (https://github.com/danurna/AFCSVResponseSerializer) where you can find a serializer class. As I took most of the parsing part from your code I hope that is fine for you, @acerbetti https://github.com/acerbetti?

— Reply to this email directly or view it on GitHub https://github.com/acerbetti/AFCSVRequestOperation/issues/2#issuecomment-79527650 .