---
title: directoryURLs
framework: Finder Sync
role: symbol
role_heading: Instance Property
platforms: [macOS 10.10+]
path: findersync/fifindersynccontroller/directoryurls
---

# directoryURLs

The directories managed by this extension.

## Declaration

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

## Discussion

Discussion The extension receives beginObservingDirectory(at:) and 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.

## See Also

### Managing the Finder Sync Controller

- [default()](findersync/fifindersynccontroller/default().md)
- [selectedItemURLs()](findersync/fifindersynccontroller/selecteditemurls().md)
- [setBadgeIdentifier(_:for:)](findersync/fifindersynccontroller/setbadgeidentifier(_:for:).md)
- [setBadgeImage(_:label:forBadgeIdentifier:)](findersync/fifindersynccontroller/setbadgeimage(_:label:forbadgeidentifier:).md)
- [targetedURL()](findersync/fifindersynccontroller/targetedurl().md)
