• 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: Cocoa Error Domain code symbols in Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Cocoa Error Domain code symbols in Swift
      • From: Rick Mann <email@hidden>
References: 
 >Cocoa Error Domain code symbols in Swift (From: Rick Mann <email@hidden>)

  • Prev by Date: Cocoa Error Domain code symbols in Swift
  • Next by Date: Re: Cocoa Error Domain code symbols in Swift
  • Previous by thread: Cocoa Error Domain code symbols in Swift
  • Next by thread: Re: Cocoa Error Domain code symbols in Swift
  • Index(es):
    • Date
    • Thread