ASIHTTPRequest alternative

后端 未结 3 1419
遇见更好的自我
遇见更好的自我 2020-12-16 06:44

I am using currently ASIHTTPRequest for communicating with the server, however it\'s causing crashes. The bug is known for a long time, but is still an issue.

Theref

3条回答
  •  醉梦人生
    2020-12-16 07:30

    ASIHTTPRequest is pretty popular and used by a good number of applications so, as JosephH suggests, it's more likely that there's a bug in your code.

    Having said that, if it is in ASIHTTPRequest then it's open source -- you can fix it. I'm sure the maintainers would appreciate a patch. A BAD_ACCESS is likely over-releasing memory.

    It's difficult to suggest an alternative since you don't say which features you're using. You could just use the native NSURLConnection if you're just using the basics (I wrote a thin wrapper around it and I'm sure there are a bunch of others out there). At the other end of the spectrum, there are REST libraries that integrate with Core Data too (RESTKit).

提交回复
热议问题