NSData init?(contentsOf url: URL) migration from Swift 2 to Swift 3
|Added at||2016-12-22 21:12|
New to iOS/Swift. I am trying to migrate a project (that simply fetches contents from a URL via the
Swift 3 migration:
I am not sure as to why we need to cast the
Thanks for the help.