I'm wondering to know if any of you knows if the use of
Data(contentsOf:)is compliant with ipv6.
In this context
Data calls NSData which calls NSURLConnection, which should work just fine on an IPv6-only network. However, rather than guess you should test this, per FAQ #1 in my Supporting IPv6-only Networks pinned post.
You should also read the other FAQs in that post, and specifically the post linked to by FAQ #6.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"