<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FinderSync",
  "identifier" : "/documentation/FinderSync/FIFinderSyncController/directoryURLs",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Finder Sync"
    ],
    "preciseIdentifier" : "c:objc(cs)FIFinderSyncController(py)directoryURLs"
  },
  "title" : "directoryURLs"
}
-->

# directoryURLs

The directories managed by this extension.

```
var directoryURLs: Set<URL>! { get set }
```

## Discussion

The extension receives
[`beginObservingDirectory(at:)`](/documentation/FinderSync/FIFinderSyncProtocol/beginObservingDirectory(at:)) and
[`endObservingDirectory(at:)`](/documentation/FinderSync/FIFinderSyncProtocol/endObservingDirectory(at:)) messages for every
directory in this set and for all of their subdirectories.

Always set `directoryURLs` when the extension starts. If there are no
directories to watch, set `directoryURLs` to an empty set.

---

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)