> On Mar 30, 2015, at 4:07 AM, Quinn The Eskimo! <eski...@apple.com> wrote:
> 
> On 30 Mar 2015, at 07:54, Daryle Walker <dary...@mac.com> wrote:
> 
>> Am I supposed to check for success by seeing whether or not “error” is nil, 
>> or if whether or not “location” (and/or “response”) is NOT nil?
> 
> In block-based APIs like this, it's generally best to check for error being 
> nil.
> 
>> Unlike some older APIs, NSURLSession’s method arguments that are block 
>> pointers do not have those inner functions’ parameters and/or return values 
>> fully explained. The URL Loading System Programming Guide does not explain 
>> what’s expected of those blocks either. File a bug?
> 
> Please do.
> 
> <https://developer.apple.com/bug-reporting/>
> 
> Please post your bug number, just for the record.

20351631

— 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to