Re: [swift-corelibs-dev] Why URL doesn't have fileReferenceURL and isFileReferenceURL, but NSURL has?

2016-12-06 Thread Ole Begemann via swift-corelibs-dev
The question is the subject, but anyway I’ll repeat it here: Why URL doesn't have fileReferenceURL and isFileReferenceURL, but NSURL has? Is it by design? If it’s a bug I can create an issue in https://bugs.swift.org. It seems this is intentional, see SR-2728:

[swift-corelibs-dev] Why is Array.init(contentsOfURL:) not available?

2016-12-05 Thread Ole Begemann via swift-corelibs-dev
(Apologies if this is not the right list to ask this question. I couldn't decide between swift-corelibs-dev and swift-dev.) I noticed that the NSArray and NSDictionary initializers to create a collection from a property list file are not exposed in the stdlib Array and Dictionary types. The