[swift-evolution] Why does URL.checkResourceIsReachable() return a Bool?

Charles Srstka cocoadev at charlessoft.com
Sun Aug 7 15:41:25 CDT 2016

> On Aug 7, 2016, at 2:20 PM, Félix Cloutier <felixcca at yahoo.ca> wrote:
> I read it from the Mac Developer Library's documentation, which has all of that for the Swift version too (link <https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURL_Class/#//apple_ref/occ/instm/NSURL/checkResourceIsReachableAndReturnError:>).

Again, that is the documentation for NSURL, not the new URL value type. Check the top of the file: “NSURL Class Reference”.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160807/fae7a03c/attachment.html>

More information about the swift-evolution mailing list