initWithRequest:delegate:startImmediately
initWithRequest:delegate:startImmediately
- Subject: initWithRequest:delegate:startImmediately
- From: "Raglan T. Tiger" <email@hidden>
- Date: Mon, 24 Oct 2016 11:09:50 -0600
NSURLRequest initWithRequest:delegate:startImmediately has been deprecated and I am not sure what to use in its place.
Building with xc 6.2 and sdk 9 with a deploy target of 10.5 all is well, even running on Sierra.
Building with xc 7.3.1 and sdk 10.11 this code:
NSURLConnection* connection = [[NSURLConnection alloc] initWithRequest:request delegate:self startImmediately:YES];
fails immediateley calling it delegate method connection:didFailWithError: with error -1022
running on El Capitan or Sierra.
What is going on or what don't I understand.
Or, should I move to NSURLSession ... I haven't found yet if NSURlSession will deploy on 10.5
Any help is sorely needed.
-rags
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden