Reputation: 158
I know ASIHTTPRequest, but it's too powerful for me. actually, I nerver use some functions it provided. It also has too much dependences.
I also know NSURLConnection, I don't like it, either.
Do I have some other choice??
Upvotes: 1
Views: 1327
Reputation: 21903
ASIHTTPRequest isn't just overkill, it's also officially abandoned and deprecated by its developer. People don't seem to know this, so please help get the word out.
AFNetworking seems to be the heir apparent, though it has competitors.
Upvotes: 2
Reputation: 69479
Don't like it, whats there not to like. ASIHttpRequest is about the easiest to implement. Only thing easier is using object initWithContentsOfURL
method:
NSString *someString = [[NSString alloc] initWithContentsOfURL:[NSURL URLWithString:@"http://some.url/file.ext"]];
But you should really looking into something like AFNetworking, because ASIHttpRequest is no longer being developed by it creator. AFNetworking is really powerful and uses blocks, which keep your coding to a minimum.
Upvotes: 4
Reputation: 40028
You can check out the AFNetworking library for iOS, an alternative to ASIHTTPRequest.
Upvotes: 2