Top "Nsurlconnection" questions

An NSURLConnection is the Apple Foundation Framework class that provides support to perform the loading of a URL request.

NSURLSession delegate vs. completionHandler

I've always used completion handlers. With NSURLConnection and now with NSURLSession. It's led to my code being really untidy, especially …

ios objective-c delegates nsurlconnection nsurlsession
Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found

I get this error when I try running the app on a device. I do not get this error when …

ios objective-c nsurlconnection
NSURLRequest Timeout IOS

I need to set timeout 15sec or 30 sec with UIRequest, but it always takes default one. Is there any way …

iphone ios ipad nsurlconnection nsurlrequest
NSURLConnection/NSURLRequest gzip support

Does anyone knows if NSURLConnection/NSURLRequest have support for gzip requests. If does, can you provide more information?

cocoa cocoa-touch gzip nsurlconnection nsurlrequest
How to make an progress bar for an NSURLConnection when downloading a file?

I want to show up an progress bar while a download with NSURLConnection is happening. As I am getting data …

iphone progress-bar nsurlconnection
How to use NSURLConnection completionHandler with swift

Does anybody know how handlers (blocks) work in swift? I am trying to get this code running but i can't …

block nsurlconnection swift
NSMutableURLRequest not obeying my timeoutInterval

I'm POST'ing a small image, so i'd like the timeout interval to be short. If the image doesn't send in …

nsurlconnection nsurlrequest nsmutableurlrequest
Downloading a file from url and saving to resources on iPhone

Is it possible to download a file (i.e. an sqlite database file) from the Internet into your iPhone application …

ios cocoa-touch nsurlconnection
Check if NSURL returns 404

I need to check whether a URL (represented by a NSURL) is available or returns 404. What is the best way …

iphone nsurlconnection
Perform POST request in Swift

I am trying to do something like this: NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://google.com"]]; request.HTTPMethod = @"POST"; …

ios post nsurlconnection swift