[swift-users] getResourceValue

J.E. Schotsman jeschot at xs4all.nl
Fri Jan 6 03:01:54 CST 2017


> On 06 Jan 2017, at 08:25, Rien <Rien at Balancingrock.nl> wrote:
> 
> What is your real question?
> Obviously the doc says that this is fine, so what are you asking? what is your problem?

Which doc?
My doc is the Xcode 8.2.1 documentation for URL, which only has the methods

resourceValues(forKeys: Set<URLResourceKey>)

and

setResourceValues(URLResourceValues)

>> On 05 Jan 2017, at 20:36, J.E. Schotsman via swift-users <swift-users at swift.org> wrote:
>> 
>> Hello,
>> 
>> Is getResourceValue a method or URL or only on NSURL?
>> After migrating a project to Swift 3 I have code like
>> 
>> var file:URL
>> file.getResourceValue(...) // compiles!
>> 
>> From the documentation and the headers I get the impression that this should not compile!


More information about the swift-users mailing list