Initializer

init(contentsOf:)

Initializes a newly allocated data object initialized with the data from the location specified by aURL.

Declaration

init?(contentsOf url: URL)

Parameters

aURL

The URL from which to read data

Return Value

An NSData object initialized with the data from the location specified by aURL. The returned object might be different than the original receiver.

See Also

Related Symbols