JohnV
JohnV

Reputation: 285

ASIHTTPRequest POST library

I really wanted to use ASIHTTPRequest do to its easy and already built library. Since it is old code format and in the project I use ARC it doesn't really work. Are there any unofficial updates to it or is there other open source code out there that works well? I just find it very tedious to go back through this code and correct it and such.

Upvotes: 1

Views: 103

Answers (3)

user546719
user546719

Reputation:

  1. If your new project uses ARC, you can disable ARC for ASIHTTPRequest. Here's a good answer How can I disable ARC for a single file in a project?

  2. The creator of AFNetworking wrote an adapter in order to ease the transition to AFNetworking from ASIHTTPRequest. See https://github.com/AFNetworking/AFNetworking-ASIHTTPRequest

Hope it helps.

Upvotes: 1

zaph
zaph

Reputation: 112857

Consider using AFNetworking in place of ASIHTTPRequest.

Or just disable ARC for ASIHTTPRequest, see @La boa boa

Upvotes: 1

La bla bla
La bla bla

Reputation: 8708

Check this answer https://stackoverflow.com/a/6658549/975959

It allows you to disable ARC for certain files and thus allowing you to use ASIHTTPRequest.

I've used it with that library successfully.

Upvotes: 0

Related Questions