On Jul 15, 2015, at 23:45 , Rick Mann <rm...@latencyzero.com> wrote:
> 
> I wish the deprecation warnings in the headers indicated the replacements.

When Xcode can tell you it's deprecated, it’s always worth checking in the 
header file directly for any comments about what to use instead. (Note that 
deprecations *can* indicate the replacement in the SDK macro, but this one 
doesn’t.)

In this case, there is a comment, which you can see in the Swift generated 
header for “NSURLError”, but the deprecation itself isn’t shown. For that, you 
have to look in NSURLError.h (that is, starting from an Obj-C file).

As always, the best way to search for this stuff is Command-Shift-O.



_______________________________________________

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

Reply via email to