Re: Cocoa Error Domain code symbols in Swift
Re: Cocoa Error Domain code symbols in Swift
- Subject: Re: Cocoa Error Domain code symbols in Swift
- From: Jens Alfke <email@hidden>
- Date: Fri, 24 Jul 2015 17:28:30 -0700
> On Jul 24, 2015, at 5:14 PM, Rick Mann <email@hidden> wrote:
>
> In my code, I catch NSErrors and inspect them in the debugger, and see codes like NSCocoaErrorDomain Code=516. How can I get the symbolic constant for that error, especially in Swift? The error headers in swift don't show the values, and it seems the objective-C headers have moved about a bit since the posts I found googling the subject.
http://osstatus.com has been my BFF since I discovered it.
—Jens
_______________________________________________
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