So, NSError.h declares NSURLErrorKey, as a userInfo key for the URL associated with the error. And NSURLError.h declares NSURLErrorFailingURLErrorKey, which appears to have the same purpose. Neither of these is deprecated, although there’s yet another constant (NSErrorFailingURLStringKey) that is.
What’s the difference between these? If I’m creating an NSError and adding a URL to it, which one is preferred? —Jens _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com