> On Sep 9, 2016, at 2:19 AM, Rick Mann <rm...@latencyzero.com> wrote:
> 
>    'getResourceValue(_:forKey:)' is unavailable: Use
>    struct URLResourceValues and URL.setResourceValues(_:)
>    instead
> 
> Problem is, that only exists on iOS 10.

According to NSURL.h, the setResourceValues method has been available since iOS 
4:

        - (BOOL)setResourceValues:(NSDictionary<NSURLResourceKey, id> 
*)keyedValues error:(NSError **)error NS_AVAILABLE(10_6, 4_0);

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to