---
title: "panel:directoryDidChange:"
framework: objectivec
role: symbol
role_heading: Instance Method
path: "objectivec/nsobject-swift.class/panel:directorydidchange:"
---

# panel:directoryDidChange:

Tells the delegate that the user has changed the selected directory in the NSSavePanel object specified.

## Declaration

```occ
- (void) panel:(id) sender directoryDidChange:(NSString *) path;
```

## Parameters

- `sender`: Panel whose directory has changed.
- `path`: String representing the new directory’s path.

## See Also

### Related Documentation

- [panel(_:didChangeToDirectoryURL:)](appkit/nsopensavepaneldelegate/panel(_:didchangetodirectoryurl:).md)
