<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSFileAccessIntent/url",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFileAccessIntent(py)URL"
  },
  "title" : "url"
}
-->

# url

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

```
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:)`](/documentation/Foundation/NSFileCoordinator/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

[`-  coordinateAccessWithIntents:queue:byAccessor:`](/documentation/Foundation/NSFileCoordinator/coordinate(with:queue:byAccessor:))

Performs a number of coordinated-read or -write operations asynchronously.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)