It sure seems like converting to Swift 3 and iOS 10 forces you to abandon 
previous OS releases. For example, I have this code:

    var val: AnyObject?
    try getResourceValue(&val, forKey: URLResourceKey.isDirectoryKey)

I get this error:

    'getResourceValue(_:forKey:)' is unavailable: Use
    struct URLResourceValues and URL.setResourceValues(_:)
    instead

Problem is, that only exists on iOS 10.

Am I screwed?

-- 
Rick Mann
[email protected]



_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to