Contents

url

The current URL for the item managed by the file access intent instance. (read-only)

Declaration

var url: URL { get }

Discussion

Always use the URL returned by this property inside the accessor block of a file coordinator’s coordinate(with:queue:byAccessor:) method. This property’s value may be different from the original URL, because the item was either moved or renamed while the file coordinator waited for access.

See Also

Related Documentation