• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURLErrorFailingURLErrorKey vs. NSURLErrorKey
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLErrorFailingURLErrorKey vs. NSURLErrorKey


  • Subject: Re: NSURLErrorFailingURLErrorKey vs. NSURLErrorKey
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 11 Apr 2016 08:53:40 -0700


On Apr 11, 2016, at 12:51 AM, Quinn The Eskimo! <email@hidden> wrote:

To understand this, you have to look at the history.

Thanks — that helps me make sense of it. Sounds like NSURLErrorKey is the best key to use for newly-created error domains, while NSURLErrorFailingURLErrorKey should be used for compatibility if I create errors with the NSURLError domain.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSURLErrorFailingURLErrorKey vs. NSURLErrorKey (From: Jens Alfke <email@hidden>)
 >Re: NSURLErrorFailingURLErrorKey vs. NSURLErrorKey (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: NSURLErrorFailingURLErrorKey vs. NSURLErrorKey
  • Next by Date: NSURLSessionStreamTask
  • Previous by thread: Re: NSURLErrorFailingURLErrorKey vs. NSURLErrorKey
  • Next by thread: NSURLSessionStreamTask
  • Index(es):
    • Date
    • Thread