NSURL error handling API regression

Originator:an00na
Number:rdar://22255158 Date Originated:12-Aug-2015 03:25 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Swift 2.0 beta 5
Classification:Other Bug Reproducible:Always
 
Before beta 5, APIs like checkResourceIsReachable are throwing APIs. Now they are reverted to the old NSErrorPointer-styled APIs. Open the sample playground to see.

Is it an intentional change or regression? If the former what’s the reason?

Sample code: http://cl.ly/0k361d2S1x3o

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!