• 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: Breakpoints: Swift Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breakpoints: Swift Error


  • Subject: Re: Breakpoints: Swift Error
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 19 Feb 2016 11:32:47 -0800
  • Feedback-id: 167118m:167118agrif8a:167118sUBxbFmoLe:SMTPCORP

On Feb 19, 2016, at 11:20 , Eric E. Dolecki <email@hidden> wrote:
>
> Yes, it's in the AVAudioPlayer init.

Which is a very interesting fact, because it suggests that the frameworks are using Swift code. I wasn’t aware that Apple had begun using Swift in actual frameworks yet, but I guess it had to start sometime.

> I do have a catch, and it never gets there. Things stop on that player instantiation.

So it’s probably a case of the initializer trying some variations of the URL. (I wouldn’t be surprised if it played games with the file extension.) The errors are only transient in a case like that.

> I've turned the breakpoint off for now and things seem to be working perfectly.

If you need the breakpoint, you may just have to get used to continuing from there, every time.
_______________________________________________

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


References: 
 >Breakpoints: Swift Error (From: "Eric E. Dolecki" <email@hidden>)
 >Re: Breakpoints: Swift Error (From: Quincey Morris <email@hidden>)
 >Re: Breakpoints: Swift Error (From: "Eric E. Dolecki" <email@hidden>)

  • Prev by Date: Re: Breakpoints: Swift Error
  • Next by Date: Can an NSArray ever have a count of -1?
  • Previous by thread: Re: Breakpoints: Swift Error
  • Next by thread: Can an NSArray ever have a count of -1?
  • Index(es):
    • Date
    • Thread